:root {
    --header-height: 52px;
}

html {
    scroll-padding-top: var(--header-height);
    scroll-behavior: smooth;
}

:root { 
    /* light theme defaults */
    --accent: #12928C;
    --bg: #ffffff;
    --bg-soft: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.16);
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
    --transp-1: #ffffff80;
    --transp-2: #ffffffCC;
    --transp-3: #ffffffEE;

}

@media (prefers-color-scheme: dark) {
    :root {
        --accent: #12928C;
        --bg: #231F20;
        --bg-soft: #111827;
        --card-bg: rgba(15, 23, 42, 0.9);
        --text-main: #ffffff;
        --text-muted: #d1d5db;
        --border-subtle: rgba(255, 255, 255, 0.08);
        --border-strong: rgba(148, 163, 184, 0.4);
        --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
        --transp-1: #00000080;
        --transp-2: #000000CC;
        --transp-3: #000000EE;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    background: var(--bg);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}
/**
header {
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
}
header {
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;           
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    backdrop-filter: blur(10px);
}
**/
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: url("assets/img/logo.png");
    background-size: contain;
    /* box-shadow: 0 0 12px rgba(18, 146, 140, 0.6); */
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

nav {
    display: none;
    gap: 1.5rem;
    font-size: 0.85rem;
}

nav a {
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
    color: var(--accent);
}

.lang-switch {
    display: inline-flex;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.125rem;
    background: rgba(15, 118, 110, 0.08);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--accent);
    color: #ffffff;
}

main {
    flex: 1;
}

/* Hero */

.hero {
    padding: 3rem 0 2.5rem 0;
    background-image: linear-gradient(0deg, var(--transp-1) 0%, var(--transp-2) 100%), url('assets/img/hero_bg.webp');
    background-size: cover;
    min-height:400px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.1fr;
    gap: 2.5rem;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.btn-primary {
    background: var(--accent);
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #ffffff;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-ghost {
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-size: 0.85rem;
    border: 1px solid var(--border-subtle);
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-ghost:hover {
    border-color: var(--border-strong);
    color: var(--text-main);
}

.hero-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-pill {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-soft);
}

.hero-card {
    border-radius: 1.5rem;
    border: 1px solid var(--border-subtle);
    padding: 1.25rem;
    background: radial-gradient(circle at top left, rgba(18, 146, 140, 0.12), transparent),
    var(--card-bg);
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.hero-card-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
    color: var(--accent);
}

.hero-card-body {
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.hero-card-list {
    list-style: none;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hero-card-list li {
    margin-bottom: 0.25rem;
}

.hero-card-list strong {
    color: var(--text-main);
}

/* Sections */

.section {
    padding: 2rem 0 1.5rem 0;
    /* border-top: 1px solid var(--border-subtle); */
    background: var(--bg);
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
    flex-direction: column;
}

.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    /* max-width: 30rem; */
    font-weight: bold;
}

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

.card {
    border-radius: 1rem;
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    font-size: 0.88rem;
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
    margin-top: 50px;
}
.card-label {
    font-size: 2rem;
    text-transform: uppercase;
    margin: -70px 0 40px;
    font-weight: 500;
}
.card-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
}

.card-body {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

section#services, section#audit {
    background: var(--bg-soft);
}

/* Carousel of agencies */

.carousel-section {
    padding: 1.8rem 0 1.5rem 0;
    /* border-top: 1px solid var(--border-subtle); */
    /* background: var(--bg-soft); */
}

.carousel-strip {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 4rem;
    animation: marquee 26s linear infinite;
    will-change: transform;
}

img.logo-img {
    width: auto;
    height: 60px;
    border-radius: 30px;
}

.logo-pill {
    /* min-width: 180px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 0.6rem 1rem; */
    border-radius: 999px;
    /* border: 1px solid var(--border-subtle); */
    background: var(--card-bg);
    font-size: 0.8rem;
    color: var(--text-muted);
    gap: 0.5rem;
    white-space: nowrap;
    width: auto;
}

.logo-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, #ffdd00, #02733e);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.18);
}

.logo-dot-eu {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(135deg, #003399, #0050c8);
    position: relative;
}

.logo-dot-eu::before {
    content: "★";
    position: absolute;
    font-size: 10px;
    color: #ffcc00;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Audit section */

.audit {
    border-radius: 1.5rem;
    border: 1px solid var(--border-subtle);
    padding: 1.3rem;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.3rem;
    background: linear-gradient(120deg,
    rgba(18, 146, 140, 0.3),
    rgba(15, 23, 42, 0.02));
    box-shadow: var(--shadow-soft);
}

.audit-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.6rem;
}

.audit-body {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.audit-list {
    font-size: 0.83rem;
    color: var(--text-muted);
    list-style: none;
    margin-left: 0;
}

.audit-list li {
    margin-bottom: 0.25rem;
}

.audit-form {
    display: grid;
    gap: 0.6rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.field label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
    background: var(--bg-soft);
    border-radius: 0.6rem;
    border: 1px solid var(--border-strong);
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    color: var(--text-main);
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(18, 146, 140, 0.4);
}

.field textarea {
    min-height: 60px;
    resize: vertical;
}

.audit-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Blog + Legal placeholders */

.legal-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    /* max-width: 48rem; */
}

/* Footer */

footer {
    /* border-top: 1px solid var(--border-subtle); */
    padding: 0.9rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    /* margin-top: 2rem; */
    background: var(--bg-soft);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-links a {
    opacity: 0.8;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

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

.social-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* forces white */
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(18, 146, 140, 0.4);
}

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

/* Optional: slightly larger on desktop */
@media (min-width: 768px) {
    .social-icon {
        width: 48px;
        height: 48px;
    }
    .social-icon img {
        width: 26px;
        height: 26px;
    }
}

/* Responsive */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

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

    nav {
        display: none;
    }
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid var(--border-subtle);
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    backdrop-filter: blur(10px);
}

/* Hidden checkbox */
#nav-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Hamburger icon – visible only on mobile */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: all 0.35s ease;
}

/* Full-screen mobile overlay */
.mobile-menu-overlay {
    position: absolute;
    background: var(--transp-3);                  
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.65, 0, 0.35, 1),
                visibility 0.45s;
    top: 0;
    right: 0;
    left: 0;
    padding: 100px 30px 30px 30px;
}

/* Inner wrapper = only this gets the slide animation */
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    transform: translateY(-40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile nav links */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.mobile-nav a {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Mobile language switcher */
.mobile-lang-switch .lang-btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.3rem;
}

/* ——————— OPEN STATE ——————— */
#nav-toggle:checked ~ .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#nav-toggle:checked ~ .mobile-menu-overlay .mobile-menu-inner {
    transform: translateY(0);
}

/* Hamburger → X */
#nav-toggle:checked ~ .header-inner .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
#nav-toggle:checked ~ .header-inner .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
#nav-toggle:checked ~ .header-inner .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ——————— RESPONSIVE ——————— */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    /* Hide desktop navigation & language switcher */
    .desktop-nav,
    .desktop-lang {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .hamburger,
    .mobile-menu-overlay {
        display: none !important;
    }
}

@media (max-width: 599px) {
    .brand-logo {
        margin-left: 10px;
    }
}