@charset "utf-8";
/* ============================================================
   DATABANK YAZILIM — Modern Arayüz
   Tasarım sistemi: Rafine Kırmızı / Siyah
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    /* brand */
    --red:        #E11B22;
    --red-600:    #C3141B;
    --red-700:    #A50F15;
    --red-50:     #FDECEC;
    --red-glow:   rgba(225, 27, 34, .35);

    /* neutrals */
    --ink:        #0E0F12;
    --ink-2:      #15171D;
    --ink-3:      #23262F;
    --muted:      #6A7080;
    --muted-2:    #9AA0AE;
    --line:       #E9EAEF;
    --line-2:     #F0F1F4;
    --bg:         #FFFFFF;
    --bg-soft:    #F6F7F9;
    --bg-soft-2:  #FBFBFC;
    --white:      #FFFFFF;

    /* gradients */
    --grad-red:   linear-gradient(135deg, #FF4A3D 0%, #E11B22 55%, #B9121A 100%);
    --grad-ink:   linear-gradient(160deg, #15171D 0%, #0E0F12 100%);

    /* type */
    --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Space Grotesk", var(--font-sans);

    /* elevation */
    --shadow-sm:  0 1px 2px rgba(16,18,24,.06), 0 1px 3px rgba(16,18,24,.04);
    --shadow-md:  0 8px 24px rgba(16,18,24,.08), 0 2px 6px rgba(16,18,24,.05);
    --shadow-lg:  0 24px 60px rgba(16,18,24,.14), 0 6px 18px rgba(16,18,24,.08);
    --shadow-red: 0 14px 34px rgba(225,27,34,.28);

    /* geometry */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --container: 1200px;
    --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.12;
    margin: 0 0 .5em;
    letter-spacing: -.02em;
    font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

::selection { background: var(--red); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: 84px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--ink  { background: var(--grad-ink); color: #D7DAE2; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(28px, 4vw, 44px); }
.section-sub { color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.section--ink .section-title { color: #fff; }
.section--ink .section-sub { color: var(--muted-2); }

.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 999px;
    transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .22s ease, color .22s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(225,27,34,.38); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-3); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-light:hover { background: rgba(255,255,255,.18); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.72);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(16,18,24,.05);
}

/* top micro-bar */
.topbar {
    background: var(--ink);
    color: #C9CDD6;
    font-size: 13px;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    gap: 16px;
}
.topbar a { color: #C9CDD6; }
.topbar a:hover { color: #fff; }
.topbar .tb-live { display: inline-flex; align-items: center; gap: 8px; }
.tb-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #35D07F;
    box-shadow: 0 0 0 0 rgba(53,208,127,.6);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(53,208,127,.5); }
    70%  { box-shadow: 0 0 0 7px rgba(53,208,127,0); }
    100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); }
}
.tb-links { display: flex; gap: 20px; align-items: center; }
.tb-links .sep { color: #3A3E49; }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -.02em;
    color: var(--ink);
}
.brand-name .b { color: var(--red); }
.brand-tag {
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 3px;
    font-weight: 500;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu li { display: flex; }
.nav-link {
    position: relative;
    display: inline-flex; align-items: center;
    line-height: 1.2; white-space: nowrap;
    font-weight: 500;
    font-size: 15px;
    color: var(--ink-2);
    padding: 9px 14px;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    position: relative;
    width: 20px; height: 2px;
    background: var(--ink);
    transition: .3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: ""; position: absolute; left: 0;
    width: 20px; height: 2px; background: var(--ink); transition: .3s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 48px 0 40px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -220px; right: -180px;
    width: 620px; height: 620px;
    background: radial-gradient(circle, var(--red-glow), transparent 62%);
    filter: blur(20px);
    z-index: 0;
    opacity: .55;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-2) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 80% 60% at 70% 0%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 0%, #000 20%, transparent 70%);
    z-index: 0;
    opacity: .7;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 7px 14px 7px 8px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: 24px;
}
.hero-badge b {
    background: var(--grad-red);
    color: #fff;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .02em;
}

.hero-title {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.05;
    margin-bottom: 18px;
}
.hero-title .accent { position: relative; color: var(--red); white-space: nowrap; }
.hero-title .accent::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 6px;
    height: 10px;
    background: var(--red-50);
    z-index: -1;
    border-radius: 4px;
}
.hero-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 28px;
}
/* sol sütun kartla aynı yükseklikte: rozet üstte, istatistikler en altta */
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy .hero-stats { margin-top: auto; }

.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.hero-stat .num {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
}
.hero-stat .num .text-red { font-size: inherit; }
.hero-stat .lbl { font-size: 13.5px; color: var(--muted); }

/* hero visual — carousel */
/* kart 16/10; sol sütun daha uzun olursa kart onunla birlikte uzar */
.hero-visual { position: relative; display: flex; flex-direction: column; }
.hero-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--ink);
    aspect-ratio: 16 / 11;
    flex: 1 0 auto;
}

/* ---------- Carousel (used in hero visual) ---------- */
.carousel { position: relative; width: 100%; height: 100%; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .8s ease, transform 1.2s ease;
    pointer-events: none;
}
.carousel-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide .cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 56px 24px 22px;
    background: linear-gradient(to top, rgba(10,11,14,.92) 10%, rgba(10,11,14,.4) 60%, transparent);
    color: #fff;
}
.carousel-slide .cap h4 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.carousel-slide .cap p { color: #Cfd3db; font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carousel-dots {
    position: absolute; z-index: 6; bottom: 16px; right: 20px;
    display: flex; gap: 8px;
}
.carousel-dots button {
    width: 9px; height: 9px; border-radius: 999px;
    background: rgba(255,255,255,.45); transition: .3s;
}
.carousel-dots button.active { background: var(--red); width: 26px; }
.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 6; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.9); color: var(--ink);
    display: grid; place-items: center;
    box-shadow: var(--shadow-md);
    opacity: 0; transition: opacity .3s ease, background .2s ease;
}
.hero-card:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: #fff; color: var(--red); }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-empty { display:grid; place-items:center; height:100%; color:#6a7080; background: var(--grad-ink); }

/* ============================================================
   REFERANSLAR — logo + kurum adı kareleri
   ============================================================ */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.ref-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px;
    aspect-ratio: 1 / 1;
    padding: 20px 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    color: var(--ink);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
a.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ref-logo { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.ref-logo img { width: 100%; height: 100%; max-width: 120px; object-fit: contain; }
.ref-name {
    font-family: var(--font-display);
    font-weight: 600; font-size: 14px; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.5em;
}
@media (max-width: 1100px) { .ref-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px)  { .ref-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } .ref-name { font-size: 12.5px; } }
@media (max-width: 460px)  { .ref-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   SERVICES / FEATURE CARDS
   ============================================================ */
/* çözüm kartları: satırda 4 kart; eksik kalan son satır ortalanır */
.cards-grid {
    --cols: 4; --gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}
.cards-grid > .feature-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.cards-grid .feature-card { padding: 26px 24px; }
.cards-grid .feature-ic { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; }
.cards-grid .feature-ic svg { width: 26px; height: 26px; }
.cards-grid .feature-card h3 { font-size: 17.5px; line-height: 1.25; }
.cards-grid .feature-card p { font-size: 14px; line-height: 1.6; }
.feature-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: var(--grad-red);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ic {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--red-50); color: var(--red);
    display: grid; place-items: center;
    margin-bottom: 20px;
    transition: .3s;
}
.feature-card:hover .feature-ic { background: var(--grad-red); color: #fff; box-shadow: var(--shadow-red); }
.feature-ic svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ============================================================
   PROJECTS GRID (SQL)
   ============================================================ */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.proj-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.proj-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-thumb img { transform: scale(1.06); }
.proj-label {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--grad-red); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px;
    box-shadow: var(--shadow-red);
}
.proj-rating {
    position: absolute; bottom: 12px; left: 12px; z-index: 2;
    display: flex; align-items: center; gap: 6px;
    background: rgba(10,11,14,.6);
    backdrop-filter: blur(6px);
    padding: 4px 10px; border-radius: 999px;
}
.proj-rating .stars { color: #FFC24B; font-size: 13px; letter-spacing: 1px; }
.proj-rating .val { color: #fff; font-size: 12px; font-weight: 600; }
.proj-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.proj-body h4 { font-size: 17px; margin: 0 0 6px; }
.proj-body p { color: var(--muted); font-size: 13.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj-arrow {
    margin-top: auto; padding-top: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 13px; color: var(--red);
}
.proj-arrow svg { width: 16px; height: 16px; flex: none; }
.proj-arrow { transition: gap .25s ease; }
.proj-card:hover .proj-arrow { gap: 10px; }

/* ============================================================
   NEWS / ETKİNLİKLER (SQL)
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-flag {
    position: absolute; top: 12px; left: 12px;
    background: var(--ink); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px;
}
.news-body { padding: 18px; }
.news-date {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 600; color: var(--red);
    margin-bottom: 8px;
}
.news-date svg { width: 14px; height: 14px; }
.news-body h4 { font-size: 16px; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
    position: relative;
    background: var(--grad-ink);
    border-radius: var(--r-xl);
    padding: 56px;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.cta-band::before {
    content: "";
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 520px; height: 320px;
    background: radial-gradient(circle, var(--red-glow), transparent 65%);
    filter: blur(10px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-band p { color: var(--muted-2); font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #A7ADBC; padding: 72px 0 0; }
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 18px 0 20px; font-size: 14.5px; color: #8A909F; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 11px;
    background: rgba(255,255,255,.06);
    display: grid; place-items: center;
    color: #C9CDD6; transition: .25s;
}
.footer-social a:hover { background: var(--grad-red); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .01em; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 14px; color: #A7ADBC; transition: .2s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: #6E7585;
    flex-wrap: wrap;
}
.footer-bottom a { color: #A7ADBC; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   BACK TO TOP + cookies
   ============================================================ */
#toTop {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 50px; height: 50px; border-radius: 15px;
    background: var(--grad-red); color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow-red);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: .3s;
}
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop:hover { transform: translateY(-3px); }
#toTop svg { width: 22px; height: 22px; }

.cookie-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
    max-width: 560px; margin-inline: auto;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    border-radius: var(--r-lg);
    padding: 20px 22px;
    display: none;
}
.cookie-bar.show { display: block; animation: slideUp .45s ease; }
.cookie-bar h4 { font-size: 16px; margin: 0 0 6px; }
.cookie-bar p { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.cookie-bar .acts { display: flex; gap: 10px; }
.cookie-bar .btn { padding: 10px 18px; font-size: 14px; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }

/* ---------- mobile nav panel ---------- */
.mobile-nav {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(14,15,18,.45);
    backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: .3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-panel {
    position: absolute; top: 0; right: 0; height: 100%;
    width: min(340px, 86vw);
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.mobile-nav.open .mobile-panel { transform: translateX(0); }
.mobile-panel .mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-panel .mp-close { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; }
.mobile-panel .mp-close svg { width: 20px; height: 20px; }
.mobile-panel a.m-link {
    padding: 14px 12px;
    border-radius: 12px;
    font-weight: 600; font-size: 17px; color: var(--ink);
    border-bottom: 1px solid var(--line-2);
}
.mobile-panel a.m-link:hover { background: var(--bg-soft); color: var(--red); }
.mobile-panel .btn { margin-top: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .proj-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { --cols: 3; }
    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nav-menu, .nav-cta .btn { display: none; }
    .nav-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 560px; }
    .hero-card { flex: none; }
}

@media (max-width: 680px) {
    .section { padding: 60px 0; }
    .container { padding-inline: 18px; }
    .proj-grid, .news-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .cards-grid { --cols: 2; --gap: 14px; }
    .cta-band { padding: 36px 22px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
    .topbar .tb-links .hide-sm { display: none; }
    .hero-stats { gap: 24px; }
    .hero-stat .num { font-size: 28px; }
}

@media (max-width: 460px) {
    .proj-grid, .news-grid { grid-template-columns: 1fr; }
    .cards-grid { --cols: 1; }
    .footer-top { grid-template-columns: 1fr; }
    .brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
