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

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 12, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #C93333 0%, #E85555 100%);
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #E85555 0%, #C93333 100%);
    box-shadow: 0 0 10px rgba(201, 51, 51, 0.3);
}

/* Text selection styling */
::selection {
    background: linear-gradient(135deg, #C93333 0%, #E85555 100%);
    color: #ffffff;
}

::-moz-selection {
    background: linear-gradient(135deg, #C93333 0%, #E85555 100%);
    color: #ffffff;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #0f0f12 0%, #1a1a1f 100%);
    color: #ffffff;
    line-height: 1.7;
    padding-top: 95px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(201, 51, 51, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(201, 51, 51, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

:root{
    --brand-red: #C93333;
    --brand-red-light: #E85555;
    --brand-red-dark: #A82626;
    --brand-dark: #0a0a0c;
    --muted: #c7c7c7;
    --accent-gold: #FDD835;
        --font-body: 'Sora', sans-serif;
        --font-display: 'Sora', sans-serif;
    --ink: #1f2a2d;
    --sand: #f6f1ea;
    --mist: #eef5f4;
    --clay: #c86a4b;
    --teal: #2f7a77;
}
h1, h2, h3 {
    font-family: var(--font-display);
}

h2, h3 {
    color: #C93333;
}

/* Global link styling */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== NAVBAR ===== */
/* ===== NAVBAR ===== */
.navbar {
    width: 100%;
    padding: 12px 50px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease, backdrop-filter 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    color: #222222;
    box-shadow: 0 2px 16px rgba(16,16,16,0.06);
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 51, 51, 0.08);
    overflow: visible;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(245,247,250,0.98) 100%);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.navbar .logo {
    display: flex;
    align-items: right;
    flex-shrink: 0;
    margin-right: 60px;
}
.navbar .logo img {
    height: 190px;
    width: auto;
    display: block;
    object-fit: contain;
    transform: translateY(8px);
}

.main-nav {
    position: relative;
    display: flex;
    gap: 8px;
}

.main-nav a {
    margin: 0 16px;
    color: #722021;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 14px 8px 14px;
    position: relative;
    border-radius: 6px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: #C93333;
    background: rgba(201, 51, 51, 0.12);
    transform: translateY(-2px);
}

.main-nav a:focus {
    outline: none;
}

/* active page indicator */
.main-nav a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #C93333 0%, #A82626 100%);
    box-shadow: 0 4px 12px rgba(201, 51, 51, 0.35);
    font-weight: 700;
    border-bottom: 3px solid rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.main-nav a.active::after {
    display: none;
}
.main-nav a.active::after {
    content: "";
    position: absolute;
    display: none;
}

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

.icon-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(201, 51, 51, 0.2);
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.icon-btn:hover {
    background: linear-gradient(135deg, rgba(201,51,51,0.12) 0%, rgba(201,51,51,0.08) 100%);
    border-color: rgba(201, 51, 51, 0.5);
    box-shadow: 0 4px 12px rgba(201,51,51,0.15);
    transform: scale(1.08);
}

.icon-btn svg { display: block; }

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0px;
    align-items: center;
    background: #f0f0f0;
    padding: 4px 4px;
    border-radius: 8px;
    border: 1px solid rgba(201, 51, 51, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switcher:hover {
    border-color: rgba(201, 51, 51, 0.4);
    background: rgba(245, 245, 245, 1);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 7px 13px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #888888;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-radius: 6px;
    font-family: var(--font-body);
    position: relative;
}

.lang-btn.active {
    background: linear-gradient(135deg, #C93333 0%, #E85555 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(201, 51, 51, 0.35);
    transform: scale(1.05);
}

.lang-btn:hover:not(.active) {
    color: #C93333;
    background: rgba(201, 51, 51, 0.1);
    transform: scale(1.02);
}



/* ===== HERO ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    position: relative;
    background: linear-gradient(135deg, #0f0f12 0%, #1a1a1f 50%, #2a1a1f 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,51,51,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201,51,51,0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
    filter: blur(40px);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 62px;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 8px 32px rgba(201, 51, 51, 0.25);
    border-left: 6px solid #C93333;
    padding-left: 24px;
    color: #ffffff !important;
    letter-spacing: -0.5px;
    line-height: 1.2;
    transition: all 0.4s ease;
}

/* Hero headline: simple, high-contrast and readable */
.hero h1 {
    color: #ffffff;
    letter-spacing: 0.6px;
    transform: none;
    display: block;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.5);
}

/* Force hero headline and subtitle to white across all pages (higher specificity) */
.hero .hero-content h1,
.hero h1 {
    color: #ffffff !important;
}
.hero .hero-content p,
.hero p {
    color: #ffffff !important;
}

.hero p {
    font-size: 18px;
    color: #e8e8e8;
    line-height: 1.8;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
    opacity: 0;
}


.hero--compact {
    height: 45vh;
}

.hero--image-only {
    background: none;
}

.hero--image-only::before,
.hero--image-only::after {
    display: none;
}

.hero--image-only .hero-bg {
    opacity: 0.35;
    filter: contrast(1.05) saturate(1.02);
}

.hero--compact .hero-content h1 {
    font-size: 46px;
    line-height: 1.08;
    padding: 10px 24px 12px 24px;
    border-left: 6px solid var(--brand-red);
    background: linear-gradient(135deg, rgba(201,51,51,0.95), rgba(122,16,16,0.95));
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 10px 32px rgba(0,0,0,0.55);
}

.hero--compact .hero-content {
    max-width: 520px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 3;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("assets/images/hero.jpg") center/cover no-repeat;
    opacity: 0.15; /* viac priehladne */
    z-index: 1;
}

/* Crossfade layers inside hero-bg */
.hero-layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 820ms cubic-bezier(.22,.98,.36,1); /* smoother, slightly slower crossfade */
    will-change: opacity;
    filter: contrast(1.05) saturate(1.12);
}
.hero-layer.show { opacity: 1; }

/* Hero prev/next buttons styling */
.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.08));
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-control:hover { transform: translateY(-50%) scale(1.04); box-shadow: 0 12px 36px rgba(0,0,0,0.6); }

@media (max-width: 680px) {
    .hero-control { width: 40px; height: 40px; font-size: 22px; }
    .hero-caption { right: 18px; bottom: 18px; max-width: 260px; }
    .hero--flashcards .hero-content h1 { font-size: 36px; }
}

/* Hero caption overlay */
.hero-caption {
    position: absolute;
    right: 60px;
    bottom: 40px;
    z-index: 4;
    max-width: 420px;
}
.hero-caption-inner {
    background: linear-gradient(180deg, rgba(8,8,10,0.88), rgba(8,8,10,0.80));
    color: #fff;
    padding: 18px 20px 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
    position: relative;
}
.hero-caption-inner::before{
    display: none;
}
.hero-caption strong {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.9px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-light));
    box-shadow: 0 4px 14px rgba(201,51,51,0.5);
}
.hero-caption p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: #f4f4f4;
    opacity: 0.98;
}

/* Make hero-bg more visible and cover the area when used as carousel */
.hero-bg { opacity: 1; transition: background-image 0.35s ease-in-out, opacity 0.45s linear; background-position: center; background-size: cover; filter: contrast(1.08) saturate(1.18) brightness(0.98); }
.hero-bg::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,85,85,0.03), rgba(10,10,10,0.10)); mix-blend-mode: overlay; pointer-events: none; }

/* Flashcard hero styles */
.hero--flashcards {
    min-height: 65vh;
    height: auto;
    max-height: 820px;
    padding: 36px 52px;
}

/* Slightly reduce headline size inside the flashcard-hero for balance */
.hero--flashcards .hero-content h1 {
    font-size: 46px;
    line-height: 1.08;
    padding: 10px 24px 12px 24px;
    border-left: 6px solid var(--brand-red);
    background: linear-gradient(135deg, rgba(201,51,51,0.95), rgba(122,16,16,0.95));
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 10px 32px rgba(0,0,0,0.55);
}
.hero--flashcards .hero-content p {
    font-size: 15px;
    opacity: 1;
    color: var(--brand-red-light);
    text-shadow: 0 4px 16px rgba(0,0,0,0.55);
}

.hero--flashcards .hero-content {
    max-width: 520px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 3;
}

.text-bordered h1, .text-bordered p { color: #fff; }

.flashcards {
    width: 56%;
    max-width: 760px;
    min-width: 320px;
    height: 420px;
    position: relative;
    margin-left: auto;
    margin-right: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.flashcards .card {
    position: absolute;
    inset: 0 0 0 0;
    border-radius: 14px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.98) translateY(6px);
    transition: opacity 600ms cubic-bezier(.2,.9,.2,1), transform 600ms cubic-bezier(.2,.9,.2,1);
    box-shadow: 0 30px 90px rgba(0,0,0,0.55), 0 0 40px rgba(201,51,51,0.12);
    background: #111;
    display: flex;
    align-items: flex-end;
}

.flashcards .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flashcards .card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.card-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.5));
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.35;
}

.cards-controls {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 5;
}

.card-prev, .card-next {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cards-dots {
    display: flex;
    gap: 8px;
}

.cards-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
}

.cards-dots button.active { background: var(--brand-red); box-shadow: 0 6px 18px rgba(201,51,51,0.25); }

@media (max-width: 980px) {
    .hero { padding: 20px; }
    .hero--flashcards { padding: 28px 20px; min-height: 48vh; }
    .flashcards { width: 100%; height: 320px; margin: 20px 0 0 0; }
    .hero { flex-direction: column; align-items: flex-start; }
    .hero--flashcards .hero-content { margin-bottom: 18px; }
}

.onas-bg {
    position: relative;
    padding: 140px 60px;
    color: #ffffff;
}


.onas-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("assets/images/moleculeback.avif") center/cover no-repeat;
    opacity: 1;
    z-index: 0;
}


.onas-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* no darkening overlay */
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.onas-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Obdĺžnikové bloky s priesvitným pozadím */
.onas-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(8px);
    padding: 44px 52px;
    border-radius: 14px;
    border: 1.5px solid rgba(201, 51, 51, 0.18);
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.onas-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 51, 51, 0.3), transparent);
}

.onas-block:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(201, 51, 51, 0.28);
    box-shadow: 0 12px 48px rgba(201, 51, 51, 0.12), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.onas-block:last-child {
    margin-bottom: 0;
}
.onas-block h3 {
    margin-top: 0;
}
.onas-block p:last-child {
    margin-bottom: 0;
}

/* Alternating O nás feature rows (hexagon + text) */
.onas-features {
    max-width: 1200px;
    margin: 40px auto 60px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
    z-index: 2;
}
.onas-features .onas-feature,
.icons-grid .icon-card,
.onas-hexagon .hexagon-image {
    /* start hidden for reveal-on-scroll */
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    transition: opacity 640ms cubic-bezier(.2,.9,.2,1), transform 640ms cubic-bezier(.2,.9,.2,1);
}

/* keep hero content visible by default (avoid hiding headline) */
.hero-content {
    opacity: 1 !important;
    transform: none !important;
}

.reveal {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Staggered delays for nicer cascade */
.onas-features .onas-feature:nth-child(1){ transition-delay: 0.06s; }
.onas-features .onas-feature:nth-child(2){ transition-delay: 0.12s; }
.onas-features .onas-feature:nth-child(3){ transition-delay: 0.18s; }
.icons-grid .icon-card:nth-child(1){ transition-delay: 0.08s; }
.icons-grid .icon-card:nth-child(2){ transition-delay: 0.12s; }
.icons-grid .icon-card:nth-child(3){ transition-delay: 0.16s; }
.icons-grid .icon-card:nth-child(4){ transition-delay: 0.2s; }
.icons-grid .icon-card:nth-child(5){ transition-delay: 0.24s; }
.icons-grid .icon-card:nth-child(6){ transition-delay: 0.28s; }
.icons-grid .icon-card:nth-child(7){ transition-delay: 0.32s; }

/* Icon wrapper glow + tilt on hover */
.icon-wrapper {
    transition: all 0.4s cubic-bezier(.2,.9,.2,1);
    will-change: transform, box-shadow;
}
.icon-wrapper:hover{
    transform: rotate(6deg) scale(1.08);
    box-shadow: 0 14px 40px rgba(201,51,51,0.12), 0 0 30px rgba(255,215,53,0.06) inset;
}

/* subtle pulsing accent for headings */
.icon-card h4, .onas-feature-title {
    position: relative;
}
.icon-card h4::after, .onas-feature-title::after{
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff4444, #C93333, #ff6b6b);
    border-radius: 2px;
    opacity: 0.95;
}

/* Make hero copy and onas text slightly more elegant */
.hero p { font-size: 18px; color: #d0d0d0; }
.onas-text p { font-size: 17px; color: #d9d9d9; }

/* subtle animated vignette in the features-section */
.features-section::before{
    animation: hueShift 18s linear infinite;
}
@keyframes hueShift{
    0%{ filter: hue-rotate(0deg); }
    50%{ filter: hue-rotate(8deg); }
    100%{ filter: hue-rotate(0deg); }
}
.onas-feature {
    display: flex;
    gap: 36px;
    align-items: center;
}
.onas-feature--rev {
    flex-direction: row-reverse;
}
.onas-hexagon {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.onas-hexagon .hexagon-image {
    width: 260px;
    height: 260px;
    clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(0,0,0,0.4), 0 0 48px rgba(201,51,51,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.onas-hexagon .hexagon-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.onas-hexagon .hexagon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.4s ease;
}

.onas-feature:hover .onas-hexagon .hexagon-image {
    transform: scale(1.08) rotateZ(2deg);
    box-shadow: 0 36px 96px rgba(0,0,0,0.5), 0 0 60px rgba(201,51,51,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.onas-feature:hover .onas-hexagon .hexagon-image img {
    filter: brightness(1.05) saturate(1.1);
}

.onas-text {
    flex: 1 1 auto;
    color: #eaeaea;
}
.onas-feature-title {
    color: #C93333;
    font-size: 28px;
    margin: 0 0 16px 0;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.onas-text p {
    color: #000000;
    line-height: 1.65;
    font-size: 16px;
}

@media (max-width: 980px) {
    .onas-feature {
        flex-direction: column;
        text-align: center;
    }
    .onas-feature--rev {
        flex-direction: column;
    }
    .onas-hexagon {
        flex: 0 0 auto;
    }
    .onas-hexagon .hexagon-image {
        width: 200px;
        height: 200px;
    }
    .onas-text {
        padding: 8px 20px 0 20px;
    }
}

/* CONTACT CARD - force black text for names, roles and contact links */
.contact-card .contact-name {
    color: #000000;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-card .contact-role {
    color: #000000;
    opacity: 0.9;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.contact-card .contact-line,
.contact-card .contact-line a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-card .contact-line a:hover {
    color: #C93333;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    font-weight: 600;
}
.contact-card .contact-icon {
    color: #000000;
    margin-right: 6px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-name {
    color: #C93333;
}

.contact-card:hover .contact-icon {
    color: #C93333;
}

.onas-content h2 {
    font-size: 58px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: var(--font-display);
    background: linear-gradient(135deg, #000000 0%, #722021 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.onas-content h3 {
    font-size: 32px;
    margin: 40px 0 10px;
    font-family: var(--font-display);
    font-weight: 700;
    color: #C93333;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.onas-content p {
    font-size: 18px;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.8;
    transition: color 0.3s ease;
}

/* ===== FEATURES SECTION - HEXAGÓNY ===== */
.features-section {
    position: relative;
    padding: 100px 40px 180px 40px;
    background: linear-gradient(135deg, #0a0a0c 0%, #1a1a1e 50%, #0a0a0c 100%);
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/moleculeback.avif') center/cover no-repeat;
    opacity: 1;
    z-index: 1;
}

.features-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(4px);
    z-index: 1;
}


.features-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* HEXAGONÁLNE FOTKY */
.hexagon-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.hexagon-item {
    perspective: 1000px;
}

.hexagon-image {
    width: 280px;
    height: 280px;
    position: relative;
    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 20px 60px rgba(201, 51, 51, 0.25), 0 0 40px rgba(201, 51, 51, 0.12);
}

.hexagon-image:hover {
    transform: scale(1.08) rotateZ(5deg);
    box-shadow: 0 30px 80px rgba(201, 51, 51, 0.4), 0 0 60px rgba(201, 51, 51, 0.2);
}

.hexagon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.hexagon-image:hover img {
    transform: scale(1.15);
}

.hexagon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, 0.85) 40%, rgba(201, 51, 51, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.hexagon-image:hover .hexagon-overlay {
    opacity: 1;
}

.hexagon-overlay h5 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hexagon-overlay p {
    font-size: 13px;
    color: #FDD835;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* IKONKY GRID (flex layout so rows can be centered) */
.icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 60px;
    justify-content: center; /* center rows (so 4 on first row and 3 centered below) */
}


.icon-card {
    text-align: center;
    padding: 36px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(201, 51, 51, 0.15);
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 0 0 260px;
    max-width: 260px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
}

.icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #C93333, #E85555, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 51, 51, 0.1) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.icon-card:hover {
    background: linear-gradient(135deg, rgba(201, 51, 51, 0.12) 0%, rgba(201, 51, 51, 0.05) 100%);
    border-color: rgba(201, 51, 51, 0.3);
    transform: translateY(-12px);
    box-shadow: 0 24px 56px rgba(201, 51, 51, 0.12), inset 0 1px 0 rgba(255,255,255,0.15);
}

.icon-card:hover::before {
    transform: translateX(100%);
}

.icon-card:hover::after {
    opacity: 1;
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 51, 51, 0.3) 0%, rgba(201, 51, 51, 0.12) 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2.5px solid rgba(201, 51, 51, 0.4);
    box-shadow: 0 8px 20px rgba(201, 51, 51, 0.15), inset 0 1px 0 rgba(255,255,255,0.3);
}

.icon-card:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(201, 51, 51, 0.5) 0%, rgba(201, 51, 51, 0.25) 100%);
    border-color: rgba(201, 51, 51, 0.6);
    transform: scale(1.12) rotateZ(5deg);
    box-shadow: 0 12px 32px rgba(201, 51, 51, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}

.icon-wrapper img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

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

.icon-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #C93333;
    margin: 18px 0 14px;
    font-family: var(--font-display);
    letter-spacing: 0.2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-card:hover h4 {
    color: #E85555;
    transform: translateY(-2px);
}

.icon-card p {
    font-size: 14px;
    color: #c0c0c0;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.icon-card:hover p {
    color: #d0d0d0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hexagon-gallery {
        gap: 24px;
        margin-bottom: 60px;
    }

    .hexagon-image {
        width: 220px;
        height: 220px;
    }

    /* tablet: make cards smaller so 3 fit per row and remain centered */
    .icons-grid {
        gap: 24px;
    }
    .icons-grid .icon-card {
        flex: 0 0 30%;
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 24px;
    }

    .hexagon-gallery {
        gap: 20px;
        margin-bottom: 40px;
    }

    .hexagon-image {
        width: 180px;
        height: 180px;
    }

    /* small screens: 2 columns (cards wrap), narrow devices will naturally stack */
    .icons-grid {
        gap: 16px;
    }
    .icons-grid .icon-card {
        flex: 0 0 48%;
        max-width: none;
    }

    .icon-card {
        padding: 20px 16px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .icon-wrapper img {
        width: 38px;
        height: 38px;
    }

    .icon-card h4 {
        font-size: 16px;
        margin: 12px 0 8px;
    }

    .icon-card p {
        font-size: 13px;
    }
}

/* ===== KONTAKTY ===== */
.kontakt-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.kontakt-section {
    margin-bottom: 48px;
}
.kontakt-section:last-child {
    margin-bottom: 0;
}

.kontakt-section-title {
    font-size: 32px;
    font-family: var(--font-display);
    color: #C93333;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 12px;
}

.kontakt-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C93333 0%, #E85555 100%);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kontakt-section-title:hover::after {
    width: 100%;
}

/* Mriežka 2 stĺpce – Obchodné oddelenie */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.contact-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

/* Kontaktná karta – väčší box, všetky rovnakej veľkosti v mriežke */
.contact-grid .onas-block.contact-card {
    padding: 32px 40px;
    min-width: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.contact-card .contact-line a {
    word-break: break-all;
}

.contact-card .contact-name {
    font-weight: 700;
    font-size: 22px;
    color: #000000;
    margin-bottom: 4px;
}
.contact-card .contact-role {
    font-size: 15px;
    color: #666666;
    margin-bottom: 12px;
}
.contact-card .contact-line {
    font-size: 16px;
    margin-bottom: 8px;
}
.contact-card .contact-line:last-child {
    margin-bottom: 0;
}
.contact-card .contact-icon {
    margin-right: 8px;
    opacity: 0.9;
}
.contact-card a {
    text-decoration: none;
}
.contact-card a[href^="mailto:"] {
    color: #C93333;
}
.contact-card a[href^="mailto:"]:hover {
    color: #A82626;
    text-decoration: underline;
}
.contact-card a[href^="tel:"] {
    color: #000000;
}
.contact-card a[href^="tel:"]:hover {
    color: #333333;
    text-decoration: underline;
}
.contact-card .contact-line {
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .navbar {
        padding: 10px 28px;
        height: auto;
        flex-wrap: wrap;
        gap: 12px;
    }
    .navbar .logo img {
        height: 170px;
        transform: translateY(8px);
    }
    .navbar .logo {
        margin-right: 0;
        order: 1;
    }
    .nav-right {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    body {
        padding-top: 86px;
    }
    .navbar nav a {
        margin-left: 20px;
        font-size: 16px;
    }
    .hero {
        padding: 0 20px;
    }
}

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

@media (max-width: 600px) {
    .navbar {
        padding: 8px 16px;
        gap: 10px;
    }
    .navbar .logo img {
        height: 140px;
        transform: translateY(6px);
    }
    body {
        padding-top: 72px;
    }
    .navbar nav a {
        margin-left: 10px;
        font-size: 14px;
    }
    .lang-switcher {
        transform: scale(0.94);
    }
    .hero--compact .hero-content {
        padding: 20px;
    }
    .hero--compact .hero-content h1 {
        font-size: 34px;
        padding: 8px 18px 10px 18px;
    }
}

/* ===== FOOTER ===== */
/* --- FOOTER MAIN --- */
footer.footer {
    background: linear-gradient(135deg, #C93333 0%, #A82626 50%, #8B1F1F 100%);
    padding: 80px 50px 0;
    margin-top: 0;
    color: #ffffff;
    box-shadow: 0 -8px 40px rgba(201, 51, 51, 0.15);
    position: relative;
    overflow: hidden;
    font-family: var(--font-body); /* Základný font, ak nie je iný */
}

/* Dekoratívny svetelný kruh v pozadí */
footer.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- GRID LAYOUT --- */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    /* Rozdelenie na 4 rovnaké stĺpce */
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* --- STYLING SEKCII --- */
.footer-section h3 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-display);
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #fd5335 0%, #A82C2C 100%);
    border-radius: 1px;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* --- ODKAZY A ANIMÁCIE --- */
.footer-section a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block; /* Zmenené z block kvôli linke pod textom */
    position: relative;
    padding: 4px 0;
    opacity: 0.85;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.footer-section a:hover {
    color: #ffffff;
    opacity: 1;
    padding-left: 8px;
}

.footer-section a:hover::before {
    width: 100%;
}

/* Špeciálny štýl pre názov firmy */
.footer-contact-company {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    color: #fd5335; 
    text-transform: uppercase;
}

/* Štýly pre otváracie hodiny */
.hours-group strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

/* --- SPODNÁ LIŠTA (COPYRIGHT) --- */
.footer-bottom {
    background: rgba(26, 26, 28, 0.95);
    padding: 20px 50px;
    font-size: 12px;
    color: #d6d6d6;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- RESPONZIVITA (MOBILY A TABLETY) --- */

/* Tablety */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px 40px;
    }
}

/* Mobily */
@media (max-width: 600px) {
    footer.footer {
        padding: 50px 20px 0;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-section {
        text-align: center;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-section a:hover {
        padding-left: 0; /* Na mobile vypneme posun do strany */
    }
}

/* ===== SIGNATURE SECTION (HOME) ===== */
.signature-section {
    position: relative;
    padding: 120px 40px 140px;
    background: linear-gradient(135deg, var(--sand) 0%, var(--mist) 55%, #f7ebe4 100%);
    color: var(--ink);
    overflow: hidden;
}

.signature-section::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    top: -180px;
    right: -160px;
    background: radial-gradient(circle, rgba(47, 122, 119, 0.22) 0%, transparent 65%);
    filter: blur(8px);
    opacity: 0.9;
}

.signature-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(120deg, rgba(31, 42, 45, 0.05) 0, rgba(31, 42, 45, 0.05) 1px, transparent 1px, transparent 14px);
    opacity: 0.35;
    pointer-events: none;
}

.signature-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.signature-header {
    display: grid;
    gap: 14px;
    max-width: 720px;
}

.signature-eyebrow {
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #7a5a4a;
    font-weight: 600;
}

.signature-header h2 {
    font-size: clamp(32px, 4vw, 52px);
    color: var(--ink);
    margin: 0;
    line-height: 1.12;
}

.signature-header p {
    font-size: 18px;
    color: #3a4a50;
    line-height: 1.7;
    margin: 0;
}

.signature-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.signature-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(31, 42, 45, 0.08);
    box-shadow: 0 24px 50px rgba(31, 42, 45, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    opacity: 0;
    transform: translateY(22px);
    animation: signatureRise 0.9s ease forwards;
}

.signature-card:nth-child(1) { animation-delay: 0.08s; }
.signature-card:nth-child(2) { animation-delay: 0.16s; }
.signature-card:nth-child(3) { animation-delay: 0.24s; }
.signature-card:nth-child(4) { animation-delay: 0.32s; }

.signature-media {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.signature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.signature-media--logo img {
    object-fit: contain;
    transform: none;
    padding: 26px;
    background: #ffffff;
}

.signature-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(31, 42, 45, 0) 30%, rgba(31, 42, 45, 0.25));
}

.signature-card:hover .signature-media img {
    transform: scale(1.12);
}

.signature-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.signature-body h3 {
    font-size: 24px;
    color: #1c2c31;
    margin: 0;
}

.signature-body p {
    color: #4a5b61;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.signature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.signature-tags span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47, 122, 119, 0.12);
    color: #1f4a47;
    font-weight: 600;
}

.signature-strip {
    margin-top: 36px;
    padding: 22px 26px;
    border-radius: 18px;
    background: #1f2a2d;
    color: var(--sand);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.signature-metric strong {
    display: block;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.signature-metric span {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

@keyframes signatureRise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .signature-grid {
        grid-template-columns: 1fr;
    }
    .signature-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .signature-section {
        padding: 90px 24px 110px;
    }
    .signature-media {
        height: 190px;
    }
}

/* ===== MAP SECTION (ABOUT) ===== */
.about-shell {
    padding: 120px 40px 130px;
}

.about-split {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: start;
}

.about-panel {
    background: linear-gradient(160deg, rgba(12, 12, 16, 0.78), rgba(16, 16, 22, 0.62));
    border: 1px solid rgba(201, 51, 51, 0.22);
    border-radius: 18px;
    padding: 36px 36px 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
    position: relative;
}

.about-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red), rgba(201, 51, 51, 0));
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.about-eyebrow {
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    display: inline-block;
    margin-bottom: 16px;
}

.about-panel h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 14px;
    color: #ffffff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.about-panel p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 30px;
}

.about-stat {
    background: linear-gradient(140deg, rgba(18, 18, 24, 0.95), rgba(24, 24, 32, 0.7));
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.about-stat::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-red);
    box-shadow: 0 0 10px rgba(201, 51, 51, 0.6);
}

.about-stat strong {
    display: block;
    font-size: 18px;
    color: #ffffff;
}

.about-stat span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.68);
}

.about-highlights {
    display: grid;
    gap: 18px;
}

.about-highlight {
    background: linear-gradient(150deg, rgba(24, 24, 30, 0.92), rgba(18, 18, 22, 0.7));
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid rgba(201, 51, 51, 0.8);
}

.about-highlight h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #ffffff;
}

.about-highlight p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
}

.about-visual {
    display: grid;
    gap: 22px;
}

.about-image-stack {
    position: relative;
    display: grid;
    gap: 18px;
}

.about-image-stack img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-panel-card {
    background: linear-gradient(160deg, #ffffff, #f4f2ef);
    color: #1a1f22;
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(201, 51, 51, 0.12);
}

.about-panel-card h3 {
    margin: 0 0 14px;
    color: #1a1f22;
    font-size: 22px;
}

.about-panel-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    font-size: 15px;
}

.about-panel-card li {
    position: relative;
    padding-left: 18px;
}

.about-panel-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-red);
}

@media (max-width: 1024px) {
    .about-split {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .about-shell {
        padding: 90px 24px 110px;
    }
    .about-panel {
        padding: 28px 24px;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
}

.map-section {
    position: relative;
    padding: 100px 40px 120px;
    background: linear-gradient(120deg, #f3f6f4 0%, #f9efe6 100%);
    color: var(--ink);
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 32px;
    align-items: center;
}

.map-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(31, 42, 45, 0.08);
    box-shadow: 0 20px 40px rgba(31, 42, 45, 0.08);
}

.map-title {
    color: var(--ink);
    margin: 0 0 12px;
    font-size: 36px;
}

.map-text {
    font-size: 17px;
    color: #3c4b51;
    line-height: 1.7;
    margin: 0 0 18px;
}

.map-address {
    display: grid;
    gap: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #2a3b40;
}

.map-embed {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 42, 45, 0.08);
    box-shadow: 0 24px 50px rgba(31, 42, 45, 0.12);
}

.map-embed iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

@media (max-width: 980px) {
    .map-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .map-section {
        padding: 80px 24px 100px;
    }
    .map-title {
        font-size: 30px;
    }
    .map-embed iframe {
        height: 300px;
    }
}

/* ===== CERTIFICATES ===== */
.certs-section {
    padding: 110px 40px 140px;
    background: url("assets/images/moleculeback.avif") center/cover no-repeat;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

.certs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(246, 241, 234, 0.82) 0%, rgba(238, 245, 244, 0.86) 60%, rgba(247, 235, 228, 0.82) 100%);
    opacity: 1;
}

.certs-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(120deg, rgba(31, 42, 45, 0.05) 0, rgba(31, 42, 45, 0.05) 1px, transparent 1px, transparent 16px);
    opacity: 0.4;
    pointer-events: none;
}

.certs-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.certs-header {
    max-width: 720px;
    display: grid;
    gap: 12px;
}

.certs-eyebrow {
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #7a5a4a;
    font-weight: 600;
}

.certs-header h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0;
    color: var(--ink);
}

.certs-header p {
    margin: 0;
    color: #3a4a50;
    font-size: 16px;
    line-height: 1.6;
}

.certs-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.cert-card {
    text-decoration: none;
    color: inherit;
    display: grid;
    gap: 12px;
    transition: transform 0.35s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
}

.cert-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 42, 45, 0.12);
    box-shadow: 0 22px 50px rgba(31, 42, 45, 0.16);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card-media img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    transform: none;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-card-media img {
    transform: scale(1.02);
}

.cert-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(15, 16, 19, 0) 35%, rgba(15, 16, 19, 0.82) 100%);
    color: #ffffff;
}

.cert-card-title {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cert-card-tag {
    align-self: flex-start;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.cert-card-caption {
    margin: 0;
    font-size: 14px;
    color: #3a4a50;
}

@media (max-width: 680px) {
    .certs-section {
        padding: 90px 24px 110px;
    }
}



