/* 3kt.cz — redesign 2026, podle navrhu design_handoff_3kt_redesign */

:root {
    --bg: #F7F8FA;
    --bg-card: #FDFDFE;
    --text: #1B2230;
    --text-2: #5B6472;
    --text-3: #71798A;
    --accent: #1F5FD1;
    --accent-hover: #1A4CB0;
    --accent-bg: #E8EEFA;
    --about-bg: #EEF0F4;
    --domains-bg: #1E3A66;
    --border: #D7DAE0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

img { max-width: 100%; }

.mono {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

.container { max-width: 1160px; margin: 0 auto; }

section { scroll-margin-top: 80px; }

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 253, 254, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px clamp(20px, 4vw, 56px);
    gap: 16px;
}

.site-header .logo img { height: 48px; width: auto; display: block; }

.nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
    font-size: 15px;
    font-weight: 500;
}

.nav-desktop a { color: var(--text); }

.nav-desktop .lang { font-size: 13px; color: var(--text-3); }

.nav-sep { width: 1px; height: 18px; background: var(--border); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle .bars { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle .bars span { height: 2px; background: var(--text); border-radius: 1px; }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 8px clamp(20px, 4vw, 56px) 20px;
    gap: 14px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    font-size: 17px;
    font-weight: 500;
    position: sticky;
    top: 69px;
    z-index: 49;
}

.nav-mobile a { color: var(--text); }

.nav-mobile .langs {
    display: flex;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.nav-mobile .langs a { color: var(--text-3); }

body.menu-open .nav-mobile { display: flex; }

@media (max-width: 779px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }
}

/* ---------- hero ---------- */

.hero {
    padding: clamp(56px, 10vw, 110px) clamp(20px, 4vw, 56px) clamp(48px, 8vw, 88px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.hero .badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 6px 14px;
    border-radius: 20px;
}

.hero h1 {
    font-size: clamp(34px, 5.5vw, 58px);
    line-height: 1.08;
    font-weight: 700;
    margin: 0;
    max-width: 820px;
    letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--accent); }

.hero .sub {
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
    color: var(--text-2);
    max-width: 640px;
    margin: 0;
}

.hero .cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.btn-primary { background: var(--accent); color: #FCFDFF; }
.btn-primary:hover { background: var(--accent-hover); color: #FCFDFF; text-decoration: none; }

.btn-secondary {
    background: #F2F3F6;
    color: var(--text);
    border: 1px solid #DCDFE5;
}
.btn-secondary:hover { color: var(--text); text-decoration: none; border-color: var(--text-3); }

/* ---------- stats strip ---------- */

.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

.stats .container {
    padding: 28px clamp(20px, 4vw, 56px);
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
}

.stats .stat { display: flex; flex-direction: column; gap: 4px; }
.stats .stat strong { font-size: 26px; font-weight: 700; }
.stats .stat span { font-size: 14px; color: var(--text-3); }

/* ---------- sekce obecne ---------- */

.section { padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 56px); }

.section-head { max-width: 600px; margin-bottom: 40px; }

.section-head h2,
h2.section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin: 10px 0 0;
    letter-spacing: -0.01em;
}

/* ---------- sluzby ---------- */

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.card .icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 19px; font-weight: 600; margin: 0; }
.card p { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0; }

/* ---------- kdo jsme ---------- */

.about { background: var(--about-bg); }

.about .container {
    padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 56px);
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1.3fr);
    gap: 48px;
    align-items: start;
}

.about h2 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    margin: 10px 0 0;
    letter-spacing: -0.01em;
}

.about .texts { display: flex; flex-direction: column; gap: 16px; }
.about .texts p { font-size: 16px; line-height: 1.7; color: #333B4A; margin: 0; }

@media (max-width: 700px) {
    .about .container { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- reference ---------- */

.ref-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.ref-head p {
    font-size: 15px;
    color: var(--text-3);
    max-width: 360px;
    margin: 0;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.ref-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
}

.ref-card .thumb {
    height: 120px;
    background: #EDEFF4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ref-card .body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ref-card strong { font-size: 15px; }
.ref-card .desc { font-size: 13px; color: var(--text-3); line-height: 1.5; }

.ref-card .year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #7E8695;
    margin-top: 4px;
}

/* ---------- domeny na prodej ---------- */

.domains {
    background: var(--domains-bg);
    color: #F3F5FA;
}

.domains .container {
    padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 56px);
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.domains .intro { max-width: 560px; display: flex; flex-direction: column; gap: 12px; }
.domains .mono { color: #9FB4D8; }
.domains h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; margin: 0; }
.domains p { font-size: 15px; line-height: 1.6; color: #D9DFEC; margin: 0; }

.domains .btn-light {
    background: #F3F5FA;
    color: var(--domains-bg);
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}
.domains .btn-light:hover { text-decoration: none; background: #FFFFFF; color: var(--domains-bg); }

/* ---------- kontakt ---------- */

.contact {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 48px;
    max-width: 1160px;
    margin: 0 auto;
}

.contact h2 {
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    margin: 10px 0 0;
    letter-spacing: -0.01em;
}

.contact .lead { font-size: 16px; line-height: 1.7; color: #333B4A; margin: 16px 0 0; }
.contact .btn-primary { margin-top: 20px; }

.contact .firm {
    background: var(--about-bg);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 15px;
    line-height: 1.7;
    color: #2A3140;
}

.contact .firm strong { font-size: 17px; }
.contact .firm .small { font-size: 13px; color: var(--text-3); }

@media (max-width: 700px) {
    .contact { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- footer ---------- */

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}

.site-footer .container {
    padding: 24px clamp(20px, 4vw, 56px);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-3);
}

.site-footer .links { display: flex; gap: 18px; }

/* ---------- podstranka ---------- */

.subpage { min-height: calc(100vh - 200px); }

.back-link {
    display: block;
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--text-3);
}

.subpage-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 10px 0 0;
    letter-spacing: -0.01em;
}

.subpage-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 640px;
    margin: 20px 0 0;
}

.domain-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    max-width: 760px;
}

.domain-list li {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.domain-list a {
    display: block;
    padding: 16px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
}

.domain-list li:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
}

.domain-list a:hover { color: var(--accent); text-decoration: none; }

.subpage-note {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 640px;
    margin: 36px 0 0;
}
