css
/* =========================================
   SPOJENIE – INŠTITÚT
   Responsive stylesheet
   ========================================= */

/* 1. ZÁKLADNÉ NASTAVENIA */

:root {
    --primary: #174b4b;
    --primary-dark: #103939;
    --secondary: #4c8580;
    --accent: #c49b65;

    --background: #faf9f5;
    --surface: #ffffff;
    --surface-soft: #f0f3ef;
    --surface-warm: #f4efe6;

    --text: #293735;
    --text-light: #66736f;
    --border: #e2e7e1;

    --radius: 16px;
    --radius-large: 26px;

    --shadow: 0 8px 30px rgba(25, 55, 48, 0.07);
    --shadow-hover: 0 14px 35px rgba(25, 55, 48, 0.12);

    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--background);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary);
}

p {
    margin: 0 0 18px;
}

h1, h2, h3 {
    font-family: "Georgia", "Times New Roman", serif;
    color: var(--primary-dark);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    letter-spacing: -1.5px;
    margin: 20px 0;
}

h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    letter-spacing: -0.7px;
    margin: 12px 0 22px;
}

h3 {
    font-size: 1.35rem;
    margin: 12px 0;
}

ul {
    padding-left: 22px;
}

li {
    padding-left: 4px;
    margin-bottom: 8px;
}


/* 2. ZÁKLADNÁ ŠÍRKA OBSAHU */

.wrap {
    width: min(var(--max-width), calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}


/* 3. NAVIGÁCIA */

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 100;
}

.nav {
    width: 100%;
    max-width: none;
    padding-left: max(24px, calc((100% - 1180px) / 2));
    padding-right: max(24px, calc((100% - 1180px) / 2));
}

body > .nav {
    position: sticky;
    top: 0;
}

.nav {
    background: var(--background);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.brand:hover {
    color: var(--secondary);
}

.brand b {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.brand small {
    font-family: Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-top: 5px;
    color: var(--text-light);
}

.brand-mark {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, #d6e9d9 0 12%, transparent 13%),
        linear-gradient(135deg, var(--secondary), var(--primary-dark));
    position: relative;
}

.brand-mark::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    right: 4px;
    bottom: 4px;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 10px 0;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

/* Hamburger */

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    line-height: 1;
    padding: 8px;
}


/* 4. HERO SEKCIa */

.hero {
    padding: 100px 0 110px;
    background:
        radial-gradient(
            ellipse at 90% 20%,
            rgba(196, 155, 101, 0.13),
            transparent 38%
        ),
        linear-gradient(135deg, #f0f4ef, #faf9f5);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.55;
    color: var(--primary);
    margin: 28px 0 20px;
}

.hero p:not(.lead) {
    color: var(--text-light);
    max-width: 650px;
}


/* 5. HERO – GRAFICKÝ SYMBOL */

.visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.orbit {
    width: min(100%, 370px);
    aspect-ratio: 1;
    border: 1px solid rgba(76, 133, 128, 0.35);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
}

.orbit::before,
.orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(76, 133, 128, 0.3);
    border-radius: 50%;
}

.orbit::before {
    inset: 12%;
}

.orbit::after {
    inset: 25%;
}

.orbit-core {
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    box-shadow: 0 12px 35px rgba(23, 75, 75, 0.25);
}

.orbit-core strong {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.orbit-core span {
    font-size: 0.48rem;
    letter-spacing: 1px;
    margin-top: 7px;
}

.orbit-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
    z-index: 3;
    box-shadow: 0 0 0 6px rgba(196, 155, 101, 0.15);
}

.dot1 {
    top: 12%;
    left: 50%;
}

.dot2 {
    bottom: 20%;
    left: 13%;
}

.dot3 {
    bottom: 20%;
    right: 13%;
}

.visual-note {
    margin-top: 25px;
    text-align: center;
    font-family: Georgia, serif;
    font-style: italic;
    color: var(--text-light);
}


/* 6. TLAČIDLÁ */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn.primary {
    background: var(--primary);
    color: white;
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn.secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn.secondary:hover {
    background: var(--primary);
    color: white;
}


/* 7. SEKCIe */

section {
    padding: 90px 0;
}

.intro {
    max-width: 790px;
    margin-bottom: 42px;
}

.intro p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.tint {
    background: var(--surface-soft);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}


/* 8. KARTY */

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card p {
    color: var(--text-light);
    font-size: 0.94rem;
    margin-bottom: 0;
}

.icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.tag {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* 9. PANEL A CITÁTY */

.panel {
    padding: 38px;
    border-radius: var(--radius-large);
    background: var(--surface-warm);
    border: 1px solid #e9e1d5;
}

.quote {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--primary);
}

.note {
    color: var(--text-light);
    font-size: 0.85rem;
}


/* 10. PILIERE */

.pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pillar {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 25px;
    border-radius: var(--radius);
    background: var(--surface-soft);
    border-left: 3px solid var(--secondary);
}

.pillar b {
    color: var(--primary);
}

.pillar span {
    color: var(--text-light);
    font-size: 0.92rem;
}


/* 11. AI FEATURE */

.feature {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 60px;
    align-items: start;
}

.feature-mark {
    min-height: 300px;
    border-radius: var(--radius-large);
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), transparent 55%),
        linear-gradient(145deg, var(--primary-dark), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow);
}

.feature-mark span {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    letter-spacing: 4px;
}

.feature-copy p,
.feature-copy li {
    color: var(--text-light);
}


/* 12. CTA */

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 48px;
    border-radius: var(--radius-large);
    background: linear-gradient(120deg, var(--primary-dark), var(--secondary));
    color: white;
}

.cta h2 {
    color: white;
    margin-top: 0;
}

.cta p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.85);
}

.cta .btn {
    background: white;
    color: var(--primary);
    flex-shrink: 0;
}

.cta .btn:hover {
    background: var(--surface-warm);
    transform: translateY(-2px);
}


/* 13. DODATOČNÉ SEKCIe */

.section {
    padding: 75px 0;
}

.section-inner {
    width: min(850px, calc(100% - 48px));
    margin: 0 auto;
}

.section-inner p:not(.eyebrow) {
    color: var(--text-light);
}


/* 14. FOOTER */

footer {
    background-color: #103939 !important;
    color: rgba(255,255,255,0.8);
    padding: 55px 0 25px;
}

footer b {
    color: white;
    letter-spacing: 1px;
}

footer p {
    font-size: 0.9rem;
    margin: 8px 0;
}

footer a {
    color: #d6e9d9;
}

footer a:hover {
    color: white;
}

.foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}


/* 15. TABLETY */

@media (max-width: 1000px) {

    .nav {
        gap: 15px;
    }

    nav {
        gap: 14px;
    }

    nav a {
        font-size: 0.8rem;
    }

    .hero-grid {
        gap: 35px;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature {
        gap: 35px;
    }
}


/* 16. MOBILNÁ NAVIGÁCIA */

@media (max-width: 760px) {

    .wrap {
        width: calc(100% - 36px);
    }

    .nav {
        min-height: 72px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
    }

    .brand b {
        font-size: 1rem;
    }

    .brand small {
        font-size: 0.48rem;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .nav-toggle-label {
        display: block;
        order: 2;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
        pointer-events: none;
    }

    nav {
        display: none;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 12px 0 18px;
        border-top: 1px solid var(--border);
        background: var(--background);
    }

    nav a {
        padding: 12px 8px;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--border);
    }

    nav a::after {
        display: none;
    }

    .nav-toggle:checked ~ nav {
        display: flex;
    }

    .nav-toggle-label::before {
        content: "☰";
    }

    .nav-toggle:checked + .nav-toggle-label::before {
        content: "✕";
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 9vw, 3.3rem);
    }

    .visual {
        max-width: 360px;
        margin: 0 auto;
    }

    section {
        padding: 65px 0;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-mark {
        min-height: 210px;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }

    .foot {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* 17. MENŠIE MOBILY */

@media (max-width: 480px) {

    body {
        font-size: 15px;
    }

    .wrap {
        width: calc(100% - 30px);
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .grid,
    .pillars {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }

    .panel {
        padding: 26px;
    }

    .quote {
        font-size: 1.25rem;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }

    .cta {
        padding: 26px;
    }

    .orbit {
        width: 280px;
    }

    .section {
        padding: 55px 0;
    }
}

@media (max-width: 760px) {
    .nav {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* 18. PRÍSTUPNOSŤ */

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
