/* ========================================
   TEAM PAGE — Unified Styles
   Společné styly pro všechny týmové stránky
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    background: #f5f5f7; color: #0b0b0f; line-height: 1.6; overflow-x: hidden;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade { animation: fadeInUp 0.7s ease forwards; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background-color: rgba(245,245,247,0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.navbar.scrolled { background-color: rgba(245,245,247,0.97); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav-container {
    max-width: 1200px; margin: 0 auto;
    padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; flex-direction: column; text-decoration: none; flex-shrink: 0; line-height: 1; }
.nav-logo-row { display: flex; align-items: baseline; gap: 0.5rem; line-height: 1; }
.nav-logo-title { font-size: 1.15rem; font-weight: 700; color: #0b0b0f; letter-spacing: -0.04em; line-height: 1; }
.nav-logo-subtitle { font-size: 0.42rem; font-weight: 500; color: #9ca3af; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 5px; }
.nav-logo-sep { font-size: 0.68rem; color: #d1d5db; margin: 0 0.25rem; font-weight: 300; }
.nav-logo-page { font-size: 0.72rem; font-weight: 600; color: #6b7280; letter-spacing: -0.01em; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-back {
    display: inline-flex; align-items: center; gap: 0.4rem;
    text-decoration: none; color: #4b5563; font-size: 0.85rem; font-weight: 500;
    padding: 0.45rem 1rem; border: 1.5px solid rgba(0,0,0,0.1); border-radius: 50px; transition: all 0.2s;
}
.nav-back:hover { color: #0b0b0f; border-color: #0b0b0f; }
.nav-cta {
    background: #1f2937; color: #f9fafb;
    padding: 0.5rem 1.25rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: opacity 0.2s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.82; }

/* HERO */
.hero {
    min-height: 100vh; background: linear-gradient(135deg, #050816 0%, #1f2937 100%);
    color: #f9fafb; padding: 8rem 2rem 5rem; display: flex; align-items: center;
}
.hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-eyebrow {
    font-size: 0.8rem; color: #9ca3af; text-transform: uppercase;
    letter-spacing: 0.1em; font-weight: 500; margin-bottom: 1.25rem;
}
.hero-name { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.75rem; }
.hero-role { font-size: 1.05rem; color: #d1d5db; line-height: 1.75; margin-bottom: 2rem; max-width: 480px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.hero-tag {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    padding: 0.35rem 0.875rem; border-radius: 50px; font-size: 0.78rem; color: #d1d5db;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-white {
    background: #f9fafb; color: #0b0b0f; padding: 0.875rem 2rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-block; transition: all 0.2s;
}
.btn-white:hover { background: #e5e7eb; transform: translateY(-2px); }
.btn-outline {
    background: transparent; color: #f9fafb; border: 2px solid rgba(249,250,251,0.3);
    padding: 0.875rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600;
    font-size: 0.9rem; display: inline-block; transition: all 0.2s;
}
.btn-outline:hover { border-color: #f9fafb; }
.hero-photo {
    background: linear-gradient(135deg, #374151, #1f2937); border-radius: 20px;
    overflow: hidden; aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* HERO STRENGTH + SOCIAL */
.hero-strength {
    margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-strength-label {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.6rem;
}
.hero-strength-text {
    font-size: 1.05rem; font-weight: 600; color: #f9fafb; line-height: 1.5;
}
.hero-social {
    display: flex; gap: 0.75rem; margin-top: 1.1rem; flex-wrap: wrap;
}
.hero-social-link {
    display: flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 0.875rem; border-radius: 50px; text-decoration: none;
    color: #d1d5db; font-size: 0.78rem; font-weight: 500; transition: background 0.2s;
}
.hero-social-link:hover { background: rgba(255,255,255,0.15); }

/* STATS BAR */
.stats-bar { background: #ffffff; border-bottom: 1px solid #f3f4f6; }
.stats-bar-inner {
    max-width: 1200px; margin: 0 auto; padding: 2rem;
    display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat-item { text-align: center; padding: 1rem; border-right: 1px solid #f3f4f6; }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: #1f2937; line-height: 1.2; }
.stat-lbl { font-size: 0.78rem; color: #6b7280; margin-top: 0.35rem; }

/* SECTIONS */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.bg-white { background: #fff; }
.bg-gray { background: #f5f5f7; }
.bg-dark { background: #e5e7eb; }
.section-tag {
    display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: #9ca3af; margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700;
    letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: #4b5563; line-height: 1.75; max-width: 580px; }

/* ABOUT: Two-column */
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start; }
.body-text { font-size: 0.95rem; color: #4b5563; line-height: 1.8; margin-bottom: 1.25rem; }

/* TIMELINE */
.timeline { padding-left: 1.5rem; border-left: 2px solid #e5e7eb; display: flex; flex-direction: column; gap: 1.75rem; margin-top: 1.5rem; }
.tl-item { position: relative; padding-left: 1.5rem; }
.tl-item::before {
    content: ''; position: absolute; left: -1.6rem; top: 0.45rem;
    width: 11px; height: 11px; background: #1f2937; border-radius: 50%; border: 2px solid #f5f5f7;
}
.tl-year { font-weight: 700; font-size: 0.85rem; color: #1f2937; margin-bottom: 0.2rem; }
.tl-text { font-size: 0.9rem; color: #4b5563; line-height: 1.6; }

/* SPECIALIZATION CARD */
.spec-card {
    background: #f9fafb; border-radius: 20px; padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.spec-card h3 {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: #9ca3af; margin-bottom: 1.5rem;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.check-list li {
    padding-left: 1.75rem; position: relative; font-size: 0.9rem;
    color: #4b5563; line-height: 1.5;
}
.check-list li::before { content: '\2713'; position: absolute; left: 0; color: #1f2937; font-weight: 700; }
.spec-footer {
    border-top: 1px solid #e5e7eb; margin-top: 1.75rem; padding-top: 1.75rem;
}
.spec-footer-label { font-size: 0.78rem; color: #6b7280; margin-bottom: 0.25rem; }
.spec-footer-value { font-weight: 600; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.service-card {
    background: #ffffff; border-radius: 16px; padding: 1.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: transform 0.25s;
}
.service-card:hover { transform: translateY(-3px); }
.service-abbr {
    width: 44px; height: 44px; background: #1f2937; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #f9fafb; font-size: 0.8rem; font-weight: 700; margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: #4b5563; line-height: 1.65; }

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #050816, #1f2937); color: #f9fafb;
    padding: 6rem 2rem; text-align: center;
}
.cta-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem; }
.cta-sub { color: #9ca3af; font-size: 1.05rem; margin-bottom: 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-item { margin-bottom: 1.75rem; }
.contact-lbl { font-size: 0.72rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.contact-val { font-size: 1rem; color: #1f2937; font-weight: 500; }
.contact-val a { color: #1f2937; text-decoration: none; }

/* SOCIAL LINKS (contact section & social bar) */
.social-links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }
.social-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px;
    padding: 0.45rem 0.9rem; color: #1f2937; text-decoration: none;
    font-weight: 600; font-size: 0.825rem; transition: all 0.2s;
}
.social-link:hover { background: #e5e7eb; }
.social-bar {
    display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap;
    padding: 1.5rem 2rem; background: #f5f5f7;
}

/* FORM */
.form-card { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.form-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 500; color: #4b5563; margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e5e7eb; border-radius: 10px;
    font-size: 0.925rem; font-family: inherit; background: #f9fafb; color: #0b0b0f;
    transition: border-color 0.2s; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: #1f2937; background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
    width: 100%; padding: 1rem; background: #0b0b0f; color: #fff; border: none;
    border-radius: 50px; font-size: 0.95rem; font-weight: 600; font-family: inherit;
    cursor: pointer; transition: opacity 0.2s; margin-top: 0.5rem;
}
.form-submit:hover { opacity: 0.82; }
.form-note { font-size: 0.78rem; color: #9ca3af; margin-top: 1rem; line-height: 1.6; }

/* FOOTER */
footer { background: #fff; padding: 2rem; border-top: 1px solid #e5e7eb; }
.footer-inner {
    max-width: 1200px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: #9ca3af; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: #9ca3af; text-decoration: none; }
.footer-links a:hover { color: #0b0b0f; }

/* COOKIE BAR */
.cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0; background: #1d1d1f; color: #f9fafb;
    padding: 1rem 2rem; display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; font-size: 0.85rem; z-index: 9999; transform: translateY(0); transition: transform 0.3s;
}
.cookie-bar.hidden { transform: translateY(100%); }
.cookie-bar a { color: #d1d5db; text-decoration: underline; }
.cookie-bar a:hover { color: #fff; }
.cookie-btn {
    background: #fff; color: #0b0b0f; border: none; padding: 0.5rem 1.2rem;
    border-radius: 50px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
    font-family: inherit; white-space: nowrap;
}
.cookie-btn:hover { background: #e5e7eb; }

/* ACCESSIBILITY: Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}
.btn-white:focus-visible, .btn-outline:focus-visible, .nav-cta:focus-visible, .nav-back:focus-visible {
    outline: 2px solid #f9fafb;
    outline-offset: 2px;
}
.hero a:focus-visible, .cta-section a:focus-visible {
    outline-color: #f9fafb;
}

/* CLIENT PORTALS */
.portals-section { background: #fff; }
.portals-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem; margin-top: 2rem;
}
.portal-card {
    background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 16px;
    padding: 1.75rem; text-decoration: none; color: #0b0b0f;
    transition: all 0.25s; display: flex; flex-direction: column; gap: 0.75rem;
}
.portal-card:hover { border-color: #1f2937; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.portal-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700; color: #fff;
}
.portal-icon-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.portal-icon-green { background: linear-gradient(135deg, #059669, #047857); }
.portal-icon-orange { background: linear-gradient(135deg, #ea580c, #c2410c); }
.portal-card h3 { font-size: 0.95rem; font-weight: 600; }
.portal-card p { font-size: 0.82rem; color: #6b7280; line-height: 1.6; flex-grow: 1; }
.portal-card .portal-cta {
    font-size: 0.78rem; font-weight: 600; color: #1f2937;
    display: inline-flex; align-items: center; gap: 0.3rem;
    margin-top: 0.25rem;
}

/* CHARITY BADGE */
.charity-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #fef3c7; border: 1px solid #fcd34d; border-radius: 50px;
    padding: 0.4rem 1rem; font-size: 0.8rem; font-weight: 500; color: #92400e;
    text-decoration: none; transition: all 0.2s;
}
.charity-badge:hover { background: #fde68a; }
.charity-badge svg { flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner, .two-col, .contact-grid { grid-template-columns: 1fr; }
    .stats-bar-inner { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portals-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .section { padding: 4rem 1.25rem; }
    .hero { padding: 6rem 1.5rem 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-bar-inner { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid #f3f4f6; padding: 0.85rem 1rem; }
    .stat-item:last-child { border-bottom: none; }
    .portals-grid { grid-template-columns: 1fr; }

    /* NAVBAR MOBILE FIX */
    .nav-container { padding: 0.75rem 1rem; gap: 0.5rem; }
    .nav-logo-row { gap: 0.25rem; }
    .nav-logo-title { font-size: 0.95rem; }
    .nav-logo-subtitle { font-size: 0.35rem; letter-spacing: 0.18em; }
    .nav-logo-sep, .nav-logo-page { display: none; }
    .nav-right { gap: 0.5rem; }
    .nav-back { padding: 0.35rem 0.65rem; font-size: 0.78rem; }
    .nav-back span { display: none; }
    .nav-cta { padding: 0.4rem 0.9rem; font-size: 0.78rem; }

    .cookie-bar { flex-direction: column; gap: 0.75rem; text-align: center; padding: 1rem; }
}
