/* ============================================================
   TRINOVA VENTURES BV — Main Stylesheet (Light Theme)
   ============================================================ */

/* ── Reset & Custom Properties ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:          #F7F8FA;
    --bg-card:     #FFFFFF;
    --bg-alt:      #EEF0F5;
    --bg-dark:     #0D0F16;
    --bg-dark-card:#14161F;
    --teal:        #008F8F;
    --teal-light:  rgba(0, 143, 143, 0.09);
    --teal-bright: #00BABA;
    --red:         #D93030;
    --text:        #0F1117;
    --text-inv:    #F0EDE8;
    --muted:       #6B7280;
    --muted-inv:   #9299A8;
    --border:      #E4E7EE;
    --border-h:    #C9CDD8;
    --shadow-sm:   0 1px 4px rgba(15,17,23,0.07), 0 4px 16px rgba(15,17,23,0.05);
    --shadow-md:   0 4px 24px rgba(15,17,23,0.10), 0 1px 4px rgba(15,17,23,0.06);
    --radius:      12px;
    --t:           0.28s ease;
    --nav-h:       96px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 1.12;
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
address { font-style: normal; }

/* ── Container ── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 36px;
}

/* ── Section Labels ── */
.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin-bottom: 56px;
    max-width: 560px;
}

/* ── Sections ── */
.section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

/* ── Primary Button ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border: 1.5px solid var(--teal);
    color: var(--teal);
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--t), color var(--t), box-shadow var(--t);
    text-align: center;
}
.btn-primary:hover {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 143, 143, 0.25);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 460px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.hidden {
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    pointer-events: none;
}
.cookie-banner p {
    font-size: 13px;
    color: var(--muted);
    flex: 1;
    line-height: 1.5;
}
.btn-cookie {
    flex-shrink: 0;
    padding: 9px 18px;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--t);
}
.btn-cookie:hover { opacity: 0.82; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
    background: rgba(247, 248, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 12px rgba(15,17,23,0.07);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 36px;
}

.nav-logo img { height: 76px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 44px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.02em;
    transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Toggle */
.lang-toggle {
    background: none;
    border: 1.5px solid var(--border-h);
    border-radius: 4px;
    padding: 5px 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: border-color var(--t);
}
.lang-toggle:hover { border-color: var(--teal); }
.lang-opt { transition: color var(--t); }
.lang-opt.active { color: var(--teal); }
.lang-sep { color: var(--border-h); user-select: none; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile {
    max-height: 0;
    overflow: hidden;
    background: rgba(247, 248, 250, 0.98);
    border-top: 1px solid transparent;
    transition: max-height 0.4s ease, border-color 0.3s ease;
}
.nav-mobile.open {
    max-height: 300px;
    border-top-color: var(--border);
}
.nav-mobile ul { list-style: none; padding: 8px 36px 20px; }
.nav-mobile li { border-bottom: 1px solid var(--border); }
.nav-mobile li:last-child { border-bottom: none; }
.nav-mobile a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
    background: var(--bg);
}

/* Background: subtle geometric gradient */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(0,186,186,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(217, 48, 48, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0,143,143,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Dot grid */
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.6;
}

/* Animated accent orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.orb-1 {
    width: 560px; height: 560px;
    background: var(--teal-bright);
    opacity: 0.07;
    top: -100px; right: -80px;
    animation: orb1 22s ease-in-out infinite alternate;
}
.orb-2 {
    width: 380px; height: 380px;
    background: var(--red);
    opacity: 0.055;
    bottom: 40px; left: -80px;
    animation: orb2 28s ease-in-out infinite alternate;
}
.orb-3 {
    width: 280px; height: 280px;
    background: var(--teal);
    opacity: 0.04;
    top: 45%; left: 45%;
    animation: orb3 35s ease-in-out infinite alternate;
}
@keyframes orb1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-60px, 80px) scale(1.15); }
}
@keyframes orb2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(70px, -50px) scale(1.1); }
}
@keyframes orb3 {
    from { transform: translate(0, 0); }
    to   { transform: translate(50px, 40px); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}
.hero-eyebrow {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
    animation: fadeUp 0.9s ease 0.15s both;
}
.hero-title {
    font-size: clamp(3rem, 7.5vw, 5.6rem);
    line-height: 1.05;
    margin-bottom: 26px;
    color: var(--text);
    animation: fadeUp 0.9s ease 0.35s both;
}
.hero-title em {
    font-style: italic;
    color: var(--teal);
}
.hero-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 500px;
    line-height: 1.78;
    margin-bottom: 48px;
    animation: fadeUp 0.9s ease 0.55s both;
}
.hero-content .btn-primary {
    animation: fadeUp 0.9s ease 0.75s both;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--teal), transparent);
    animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.25; }
    50%       { opacity: 0.9; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
    align-items: start;
}
.about-left h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.2; }
.about-right p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 20px;
}
.about-right p:last-child { margin-bottom: 0; }

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pillar {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.pillar:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.pillar-mark { color: var(--teal); font-size: 12px; margin-bottom: 18px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pillar p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   VENTURES
   ============================================================ */
.ventures {
    background: var(--bg-alt);
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.v-card {
    padding: 38px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.v-card:hover {
    border-color: var(--teal);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,143,143,0.08) inset;
}
.v-icon {
    width: 44px; height: 44px;
    color: var(--teal);
    margin-bottom: 24px;
    padding: 10px;
    background: var(--teal-light);
    border-radius: 10px;
    transition: transform var(--t), background var(--t);
}
.v-card:hover .v-icon {
    transform: scale(1.08);
    background: rgba(0,143,143,0.14);
}
.v-icon svg { width: 100%; height: 100%; }
.v-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}
.v-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ============================================================
   NUMBERS  (dark contrast band)
   ============================================================ */
.numbers {
    background: var(--bg-dark);
    border-top: none;
    border-bottom: none;
    padding: 100px 0;
}
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.num-item {
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.num-item:last-child { border-right: none; }
.num-value {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 1;
    margin-bottom: 14px;
    color: var(--text-inv);
}
.num-value sup {
    font-size: 0.42em;
    color: var(--teal-bright);
    vertical-align: super;
    line-height: 0;
}
.num-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-inv);
    line-height: 1.55;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    margin-bottom: 64px;
    align-items: start;
}
.c-detail { margin-bottom: 40px; }
.c-detail:last-child { margin-bottom: 0; }
.c-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}
.c-value {
    font-size: 15px;
    color: var(--text);
    line-height: 1.75;
}
a.c-value:hover { color: var(--teal); transition: color var(--t); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    line-height: 1.5;
    outline: none;
    transition: border-color var(--t), box-shadow var(--t);
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 143, 143, 0.1);
}
.contact-form .btn-primary { align-self: flex-start; margin-top: 8px; }

/* Map */
.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.map-wrap iframe { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 64px 0 44px;
    background: #ECEEF3;
    border-top: 1px solid var(--border);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border);
}
.footer-logo img { height: 90px; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a {
    font-size: 13px;
    color: var(--muted);
    transition: color var(--t);
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-legal {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}
.footer-legal a { transition: color var(--t); }
.footer-legal a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .ventures-grid  { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid   { grid-template-columns: repeat(2, 1fr); }
    .num-item       { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .num-item:last-child { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .nav-links  { display: none; }
    .hamburger  { display: flex; }

    .section { padding: 80px 0; }

    .about-grid  { grid-template-columns: 1fr; gap: 32px; }
    .pillars     { grid-template-columns: 1fr; }

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

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .form-row     { grid-template-columns: 1fr; }

    .footer-top    { flex-direction: column; align-items: flex-start; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .hero-scroll-indicator { display: none; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title   { font-size: clamp(2.6rem, 11vw, 3.8rem); }
    .section-title { margin-bottom: 36px; }
    .nav-inner    { padding: 0 20px; }
    .nav-mobile ul { padding: 8px 20px 20px; }
    .nav-logo img { height: 58px; }
}
