:root {
    --cc-primary: #0f5cff;
    --cc-primary-dark: #0732a8;
    --cc-primary-soft: #eaf2ff;
    --cc-cyan: #19c9f5;
    --cc-navy: #061b4f;
    --cc-text: #0a1e52;
    --cc-muted: #637198;
    --cc-border: rgba(15, 92, 255, 0.13);
    --cc-card: rgba(255, 255, 255, 0.86);
    --cc-bg: #f4f8ff;
    --cc-bg-blue: #edf5ff;
    --cc-shadow: 0 24px 70px rgba(12, 48, 120, 0.12);
    --cc-radius: 28px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--cc-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(15, 92, 255, 0.12), transparent 32%),
        radial-gradient(circle at 88% 18%, rgba(25, 201, 245, 0.10), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #edf5ff 42%, #f8fbff 100%);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.site-container {
    max-width: 1440px;
    padding-left: 32px;
    padding-right: 32px;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0 0;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(247, 251, 255, 0.72));
    backdrop-filter: blur(18px);
}

.navbar {
    min-height: 76px;
}

.site-header .navbar .site-container {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--cc-border);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(10, 30, 82, 0.08);
    padding-top: 10px;
    padding-bottom: 10px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    color: var(--cc-navy);
    text-decoration: none;
    letter-spacing: -0.04em;
    font-size: 1.35rem;
}

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

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(15, 92, 255, 0.28);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    color: var(--cc-text);
    font-size: 0.92rem;
    font-weight: 650;
    padding: 10px 14px !important;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--cc-primary);
    background: var(--cc-primary-soft);
}

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

.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--cc-primary-dark);
    background: #ffffff;
    border: 1px solid var(--cc-border);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
}

.admin-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cc-primary);
    background: var(--cc-primary-soft);
    border: 1px solid var(--cc-border);
    border-radius: 999px;
    text-decoration: none;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    border: 0;
    border-radius: 14px;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cc-primary), #0b43d9);
    box-shadow: 0 16px 34px rgba(15, 92, 255, 0.28);
    text-decoration: none;
}

.btn-brand:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(15, 92, 255, 0.34);
}

/* MAIN */

.site-main {
    padding-top: 38px;
}

/* OBECNÉ SEKCE */

.content-section {
    position: relative;
    padding: 44px 0;
}

.content-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 92, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 92, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 80% 10%, #000 0%, transparent 38%);
}

.section-tint {
    background:
        radial-gradient(circle at 15% 10%, rgba(15, 92, 255, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(237, 245, 255, 0.95), rgba(246, 250, 255, 0.95));
}

.section-white {
    background:
        radial-gradient(circle at 90% 10%, rgba(25, 201, 245, 0.10), transparent 30%),
        rgba(255, 255, 255, 0.35);
}

.section-card {
    position: relative;
    overflow: hidden;
    padding: 58px;
    border-radius: var(--cc-radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.78));
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
}

.section-card::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: -150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(15, 92, 255, 0.12), transparent 65%);
    pointer-events: none;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--cc-primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-cyan));
}

.section-card h2 {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--cc-navy);
    font-size: clamp(2rem, 4vw, 4.1rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.065em;
}

.section-card p,
.section-card .section-copy {
    max-width: 650px;
    color: var(--cc-muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.section-card .section-copy {
    margin-bottom: 28px;
}

.section-card .section-copy p {
    margin-bottom: 1rem;
}

.section-card .section-copy p:last-child {
    margin-bottom: 0;
}

.section-image-wrap {
    position: relative;
    padding: 16px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(234,242,255,0.72));
    border: 1px solid var(--cc-border);
    box-shadow: 0 20px 55px rgba(10, 30, 82, 0.12);
}

.section-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.page-content {
    max-width: 100%;
    overflow-x: hidden;
}

.page-content img,
.page-content video,
.page-content iframe {
    display: block;
    max-width: 100% !important;
}

.page-content img,
.page-content video {
    height: auto !important;
}

.page-content img {
    border-radius: 18px;
}

.page-content table {
    max-width: 100%;
}

/* ABOUT PAGE */

.about-hero {
    padding: 34px 0 70px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 48px;
    align-items: center;
}

.about-hero h1,
.about-hero-compact h1 {
    max-width: 880px;
    margin: 0 0 22px;
    color: var(--cc-navy);
    font-size: 5.6rem;
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: 0;
}

.about-hero p,
.about-hero-copy {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--cc-muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.about-hero-visual {
    position: relative;
    min-height: 520px;
    padding: 18px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(234,242,255,0.78)),
        linear-gradient(45deg, rgba(15,92,255,0.08), rgba(25,201,245,0.08));
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
    overflow: hidden;
}

.about-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 484px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

.about-metric {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    min-height: 132px;
    margin-bottom: 16px;
    padding: 24px;
    border-radius: 22px;
    color: var(--cc-navy);
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--cc-border);
    box-shadow: 0 18px 45px rgba(10, 30, 82, 0.12);
}

.about-metric strong {
    color: var(--cc-primary);
    font-size: 5.2rem;
    line-height: 0.8;
}

.about-metric span {
    max-width: 180px;
    color: var(--cc-muted);
    font-weight: 850;
    text-align: right;
}

.about-section {
    padding: 70px 0;
}

.about-section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.about-section-heading h2,
.about-story-grid h2,
.about-gallery-band h2 {
    margin: 0;
    color: var(--cc-navy);
    font-size: 4.2rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 48px;
    align-items: center;
}

.about-copy {
    max-width: 660px;
    margin: 22px 0 28px;
    color: var(--cc-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-story-media {
    min-height: 420px;
    padding: 16px;
    border-radius: 28px;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--cc-border);
    box-shadow: 0 20px 55px rgba(10, 30, 82, 0.12);
}

.about-story-media img {
    width: 100%;
    height: 100%;
    min-height: 388px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

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

.about-value {
    padding: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--cc-border);
    box-shadow: 0 18px 44px rgba(10, 30, 82, 0.08);
}

.about-value i {
    color: var(--cc-primary);
    font-size: 2rem;
}

.about-value h3,
.about-process-step h3 {
    margin: 18px 0 10px;
    color: var(--cc-navy);
    font-size: 1.25rem;
    font-weight: 900;
}

.about-value p,
.about-process-step p {
    margin: 0;
    color: var(--cc-muted);
    line-height: 1.65;
}

.about-process-section {
    background:
        linear-gradient(180deg, rgba(6, 27, 79, 0.97), rgba(7, 50, 168, 0.92));
}

.about-process-section .section-kicker,
.about-process-section h2 {
    color: white;
}

.about-process {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.about-process-step {
    min-height: 250px;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
}

.about-process-step span {
    color: #9fd7ff;
    font-size: 2.4rem;
    font-weight: 950;
}

.about-process-step h3 {
    color: white;
}

.about-process-step p {
    color: rgba(255,255,255,0.74);
}

.about-claim {
    padding: 74px 0;
    background:
        radial-gradient(circle at 82% 16%, rgba(25, 201, 245, 0.16), transparent 32%),
        rgba(255,255,255,0.35);
}

.about-claim blockquote {
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    text-align: center;
}

.about-claim blockquote > span {
    color: var(--cc-primary);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.about-claim .about-claim-copy {
    margin: 16px 0 22px;
    color: var(--cc-navy);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0;
}

.about-claim .about-claim-copy p {
    margin: 0;
}

.about-claim footer {
    color: var(--cc-muted);
    font-weight: 800;
}

.about-gallery-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 34px;
    align-items: center;
}

.about-gallery-band img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--cc-shadow);
}

.about-logo-list {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-logo-list span {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--cc-primary-dark);
    background: white;
    border: 1px solid var(--cc-border);
    font-weight: 850;
}

.visual-placeholder {
    position: relative;
    min-height: 360px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 24% 28%, rgba(25, 201, 245, 0.18), transparent 28%),
        linear-gradient(135deg, #f8fbff, #eaf2ff);
    border: 1px solid var(--cc-border);
    box-shadow: 0 20px 55px rgba(10, 30, 82, 0.12);
    overflow: hidden;
}

.visual-placeholder::before {
    content: "";
    position: absolute;
    inset: 40px;
    border-radius: 26px;
    border: 1px solid rgba(15, 92, 255, 0.12);
    background-image:
        linear-gradient(rgba(15, 92, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 92, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

.visual-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,0.86);
    border: 1px solid var(--cc-border);
    box-shadow: 0 18px 45px rgba(10, 30, 82, 0.14);
}

.visual-card-main {
    left: 54px;
    top: 60px;
    width: 250px;
}

.visual-card-main span,
.visual-card-small span {
    color: var(--cc-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.visual-card-main strong {
    color: var(--cc-primary);
    font-size: 3.4rem;
    line-height: 1;
}

.visual-card-main small {
    color: var(--cc-muted);
}

.visual-card-small {
    right: 46px;
    bottom: 54px;
    flex-direction: row;
    align-items: center;
}

.visual-card-small i {
    color: var(--cc-primary);
    font-size: 1.8rem;
}

/* PORTFOLIO */

.portfolio-hero,
.portfolio-detail-hero {
    padding: 44px 0 72px;
}

.portfolio-hero-grid,
.portfolio-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 44px;
    align-items: center;
}

.portfolio-hero h1,
.portfolio-detail-hero h1 {
    max-width: 900px;
    margin: 0 0 20px;
    color: var(--cc-navy);
    font-size: 5rem;
    font-weight: 950;
    line-height: 0.96;
    letter-spacing: 0;
}

.portfolio-hero p,
.portfolio-detail-lead {
    max-width: 760px;
    color: var(--cc-muted);
    font-size: 1.12rem;
    line-height: 1.78;
}

.portfolio-hero-actions,
.portfolio-detail-actions,
.portfolio-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    color: var(--cc-primary-dark);
    font-weight: 900;
    text-decoration: none;
}

.portfolio-link:hover {
    color: var(--cc-primary);
}

.portfolio-hero-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.portfolio-hero-panel > div,
.portfolio-hero-panel > a,
.portfolio-facts > div,
.portfolio-story-block,
.portfolio-list-panel {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--cc-border);
    box-shadow: 0 18px 44px rgba(10, 30, 82, 0.08);
}

.portfolio-hero-panel > div,
.portfolio-hero-panel > a {
    min-height: 150px;
    padding: 24px;
    text-decoration: none;
}

.portfolio-hero-panel > a {
    grid-column: 1 / -1;
    position: relative;
    color: var(--cc-navy);
}

.portfolio-hero-panel strong {
    display: block;
    color: var(--cc-primary);
    font-size: 3rem;
    line-height: 1;
}

.portfolio-hero-panel span,
.portfolio-meta-line,
.portfolio-facts span {
    display: block;
    color: var(--cc-muted);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.portfolio-hero-panel > a strong {
    max-width: 86%;
    margin-top: 10px;
    color: var(--cc-navy);
    font-size: 1.55rem;
    line-height: 1.12;
}

.portfolio-hero-panel > a i {
    position: absolute;
    right: 22px;
    top: 22px;
    color: var(--cc-primary);
    font-size: 1.4rem;
}

.portfolio-section,
.portfolio-detail-section,
.portfolio-gallery-section {
    padding: 68px 0;
}

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

.portfolio-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--cc-border);
    box-shadow: 0 20px 55px rgba(10, 30, 82, 0.1);
}

.portfolio-card-media {
    position: relative;
    min-height: 360px;
    color: var(--cc-primary);
    background: var(--cc-primary-soft);
    overflow: hidden;
}

.portfolio-card-media > img,
.portfolio-detail-media > img,
.portfolio-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    font-size: 4rem;
}

.portfolio-card-thumbs {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.portfolio-card-thumbs img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border: 3px solid white;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(10, 30, 82, 0.18);
}

.portfolio-card-body {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.portfolio-card h2 {
    margin: 10px 0 14px;
    color: var(--cc-navy);
    font-size: 1.8rem;
    font-weight: 950;
    line-height: 1.1;
}

.portfolio-card h2 a {
    color: inherit;
    text-decoration: none;
}

.portfolio-card p {
    color: var(--cc-muted);
    line-height: 1.7;
}

.portfolio-card-result {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 4px 0 18px;
    color: var(--cc-primary-dark);
    font-weight: 800;
}

.portfolio-card-result i {
    color: var(--cc-primary);
}

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

.portfolio-tags span {
    padding: 8px 11px;
    border-radius: 8px;
    color: var(--cc-primary-dark);
    background: var(--cc-primary-soft);
    border: 1px solid var(--cc-border);
    font-size: 0.82rem;
    font-weight: 850;
}

.portfolio-tags-large {
    margin-top: 24px;
}

.portfolio-icon-link {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--cc-primary);
    background: white;
    border: 1px solid var(--cc-border);
    text-decoration: none;
}

.portfolio-empty {
    padding: 46px;
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--cc-border);
}

.portfolio-empty i {
    color: var(--cc-primary);
    font-size: 2.8rem;
}

.portfolio-empty h2 {
    margin: 14px 0 8px;
    color: var(--cc-navy);
    font-weight: 950;
}

.portfolio-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--cc-primary-dark);
    font-weight: 900;
    text-decoration: none;
}

.portfolio-detail-media {
    min-height: 560px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cc-primary-soft);
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
}

.portfolio-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.portfolio-facts > div {
    padding: 22px;
}

.portfolio-facts strong {
    display: block;
    margin-top: 6px;
    color: var(--cc-navy);
    font-size: 1.2rem;
    font-weight: 950;
}

.portfolio-story-grid,
.portfolio-detail-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.portfolio-story-block,
.portfolio-list-panel {
    padding: 30px;
}

.portfolio-story-block i {
    color: var(--cc-primary);
    font-size: 2rem;
}

.portfolio-story-block h2,
.portfolio-list-panel h2,
.portfolio-section-heading h2,
.portfolio-next-inner h2 {
    margin: 14px 0 14px;
    color: var(--cc-navy);
    font-size: 2.1rem;
    font-weight: 950;
    line-height: 1.08;
}

.portfolio-story-block p,
.portfolio-list-panel p,
.portfolio-next-inner p {
    margin: 0;
    color: var(--cc-muted);
    line-height: 1.75;
}

.portfolio-list-panel ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portfolio-list-panel li {
    display: flex;
    gap: 10px;
    color: var(--cc-text);
    font-weight: 750;
}

.portfolio-list-panel li i {
    color: var(--cc-primary);
}

.portfolio-result-panel {
    background: linear-gradient(135deg, rgba(6, 27, 79, 0.98), rgba(7, 50, 168, 0.94));
}

.portfolio-result-panel .section-kicker,
.portfolio-result-panel h2,
.portfolio-result-panel li,
.portfolio-result-panel p {
    color: white;
}

.portfolio-result-panel li i {
    color: #8ee7ff;
}

.portfolio-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.portfolio-gallery-grid figure {
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--cc-primary-soft);
    border: 1px solid var(--cc-border);
    box-shadow: 0 18px 44px rgba(10, 30, 82, 0.1);
}

.portfolio-gallery-grid figure.is-large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-next-step {
    padding: 42px 0 78px;
}

.portfolio-next-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--cc-primary-dark), var(--cc-primary));
    box-shadow: 0 24px 70px rgba(15, 92, 255, 0.24);
}

.portfolio-next-inner .section-kicker,
.portfolio-next-inner h2 {
    color: white;
}

.portfolio-next-inner p {
    max-width: 660px;
    color: rgba(255,255,255,0.78);
}

/* FOOTER */

.site-footer {
    padding: 42px 0 30px;
    background:
        linear-gradient(180deg, rgba(239, 246, 255, 0.55), rgba(222, 235, 255, 0.78));
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 42px;
    padding: 42px;
    border-radius: 30px;
    color: white;
    background:
        radial-gradient(circle at 80% 20%, rgba(25, 201, 245, 0.35), transparent 36%),
        linear-gradient(135deg, var(--cc-primary-dark), var(--cc-primary));
    box-shadow: 0 24px 70px rgba(15, 92, 255, 0.24);
}

.footer-cta .section-kicker {
    color: #b8dcff;
}

.footer-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

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

.footer-cta-btn {
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 16px;
    color: var(--cc-primary-dark);
    font-weight: 900;
    white-space: nowrap;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 38px;
    padding: 36px;
    border-radius: 28px;
    background: rgba(255,255,255,0.68);
    border: 1px solid var(--cc-border);
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-text {
    max-width: 420px;
    color: var(--cc-muted);
    line-height: 1.7;
}

.footer-content h6 {
    color: var(--cc-navy);
    font-weight: 900;
    margin-bottom: 14px;
}

.footer-content a,
.footer-content span {
    display: block;
    margin-bottom: 9px;
    color: var(--cc-muted);
    text-decoration: none;
    font-size: 0.94rem;
}

.footer-content a:hover {
    color: var(--cc-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    color: var(--cc-muted);
    font-size: 0.88rem;
}

.footer-bottom a {
    color: var(--cc-muted);
    text-decoration: none;
    margin-left: 18px;
}

.footer-cookie-link {
    margin-left: 18px;
    padding: 0;
    border: 0;
    color: var(--cc-muted);
    background: transparent;
    font: inherit;
}

.footer-bottom a:hover {
    color: var(--cc-primary);
}

.footer-cookie-link:hover {
    color: var(--cc-primary);
}

/* COOKIES */

.cookie-consent {
    position: fixed;
    inset: auto 24px 24px 24px;
    z-index: 1300;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    max-width: 980px;
    margin-left: auto;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--cc-border);
    box-shadow: 0 24px 80px rgba(10, 30, 82, 0.22);
    backdrop-filter: blur(18px);
}

.cookie-consent-panel h2 {
    margin: 0 0 8px;
    color: var(--cc-navy);
    font-size: 1.45rem;
    font-weight: 900;
}

.cookie-consent-panel p {
    max-width: 620px;
    margin: 0 0 14px;
    color: var(--cc-muted);
    line-height: 1.6;
}

.cookie-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
    color: var(--cc-text);
    font-weight: 750;
}

.cookie-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--cc-primary);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* CHAT */

#chatBubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1200;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 25px;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-cyan));
    box-shadow: 0 20px 42px rgba(15, 92, 255, 0.34);
}

.chat-dot {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #00d991;
    border: 2px solid white;
}

#chatWindow {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 1200;
    width: min(360px, calc(100vw - 32px));
    height: 460px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--cc-border);
    box-shadow: 0 24px 80px rgba(10, 30, 82, 0.24);
    backdrop-filter: blur(18px);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    color: white;
    background: linear-gradient(135deg, var(--cc-primary-dark), var(--cc-primary));
}

.chat-header .status {
    display: block;
    margin-top: 2px;
    color: #9fffd8;
    font-size: 0.78rem;
}

.chat-header button {
    border: 0;
    background: transparent;
    color: white;
    font-size: 1.6rem;
    line-height: 1;
}

#chatMessages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    font-size: 0.92rem;
}

.chat-message {
    margin-bottom: 12px;
    padding: 11px 13px;
    border-radius: 14px;
    line-height: 1.5;
}

.chat-message.user {
    background: var(--cc-primary-soft);
}

.chat-message.ai {
    background: #f5f8ff;
    border: 1px solid var(--cc-border);
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--cc-border);
}

.chat-input input {
    flex: 1;
    min-height: 44px;
    border: 1px solid var(--cc-border);
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
}

.chat-input input:focus {
    border-color: rgba(15, 92, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 92, 255, 0.08);
}

.chat-input button {
    width: 44px;
    border: 0;
    border-radius: 14px;
    color: white;
    background: var(--cc-primary);
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .site-header .navbar .site-container {
        border-radius: 20px;
    }

    .navbar-collapse {
        padding-top: 18px;
    }

    .nav-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 16px;
    }

    .admin-link,
    .language-switch,
    .btn-brand {
        width: 100%;
    }

    .section-card {
        padding: 36px 24px;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-hero-grid,
    .about-story-grid,
    .about-gallery-band {
        grid-template-columns: 1fr;
    }

    .about-hero h1,
    .about-hero-compact h1 {
        font-size: 4.2rem;
    }

    .about-section-heading h2,
    .about-story-grid h2,
    .about-gallery-band h2 {
        font-size: 3.4rem;
    }

    .about-claim .about-claim-copy {
        font-size: 2.4rem;
    }

    .about-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-hero-grid,
    .portfolio-detail-grid,
    .portfolio-grid,
    .portfolio-card,
    .portfolio-story-grid,
    .portfolio-detail-columns {
        grid-template-columns: 1fr;
    }

    .portfolio-hero h1,
    .portfolio-detail-hero h1 {
        font-size: 3.8rem;
    }

    .portfolio-card-media {
        min-height: 320px;
    }

    .portfolio-detail-media {
        min-height: 420px;
    }

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

    .portfolio-next-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-consent-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .site-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-main {
        padding-top: 22px;
    }

    .content-section {
        padding: 28px 0;
    }

    .section-card h2 {
        font-size: 2.2rem;
    }

    .section-card p {
        font-size: 1rem;
    }

    .page-content img,
    .page-content video,
    .page-content iframe {
        width: 100% !important;
    }

    .page-content img {
        border-radius: 12px;
    }

    .visual-placeholder {
        min-height: 280px;
    }

    .visual-card-main {
        left: 24px;
        top: 34px;
        width: 220px;
    }

    .visual-card-small {
        right: 24px;
        bottom: 28px;
    }

    .about-hero {
        padding-bottom: 42px;
    }

    .about-hero h1,
    .about-hero-compact h1 {
        font-size: 3rem;
    }

    .about-section-heading h2,
    .about-story-grid h2,
    .about-gallery-band h2 {
        font-size: 2.4rem;
    }

    .about-metric strong {
        font-size: 3.2rem;
    }

    .about-claim .about-claim-copy {
        font-size: 1.8rem;
    }

    .about-hero-visual,
    .about-story-media {
        min-height: 300px;
    }

    .about-hero-visual img,
    .about-story-media img {
        min-height: 268px;
    }

    .about-section {
        padding: 46px 0;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-hero,
    .portfolio-detail-hero {
        padding: 26px 0 44px;
    }

    .portfolio-hero h1,
    .portfolio-detail-hero h1 {
        font-size: 2.75rem;
    }

    .portfolio-hero p,
    .portfolio-detail-lead {
        font-size: 1rem;
    }

    .portfolio-hero-panel,
    .portfolio-facts,
    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-section,
    .portfolio-detail-section,
    .portfolio-gallery-section {
        padding: 42px 0;
    }

    .portfolio-card-body,
    .portfolio-story-block,
    .portfolio-list-panel,
    .portfolio-next-inner {
        padding: 24px;
    }

    .portfolio-card-media {
        min-height: 280px;
    }

    .portfolio-card-thumbs img {
        height: 58px;
    }

    .portfolio-detail-media,
    .portfolio-gallery-grid figure {
        min-height: 280px;
    }

    .portfolio-gallery-grid figure.is-large {
        grid-column: auto;
        grid-row: auto;
    }

    .portfolio-story-block h2,
    .portfolio-list-panel h2,
    .portfolio-section-heading h2,
    .portfolio-next-inner h2 {
        font-size: 1.65rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 14px;
    }

    .footer-cookie-link {
        margin-left: 0;
        margin-right: 14px;
    }

    .cookie-consent {
        inset: auto 12px 12px 12px;
    }

    .cookie-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}

/* ================================
   LIGHT ANIMATIONS
================================ */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-card,
.footer-cta,
.footer-content {
    will-change: transform;
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(12, 48, 120, 0.16);
}

.section-image-wrap {
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.section-image-wrap:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 28px 70px rgba(10, 30, 82, 0.16);
}

.btn-brand,
.language-switch,
.admin-link {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn-brand:hover,
.language-switch:hover,
.admin-link:hover {
    transform: translateY(-2px);
}

.brand-mark {
    position: relative;
    overflow: hidden;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(
        120deg,
        transparent 35%,
        rgba(255, 255, 255, 0.55),
        transparent 65%
    );
    transform: translateX(-120%) rotate(18deg);
    animation: logoShine 4.8s ease-in-out infinite;
}

@keyframes logoShine {
    0% {
        transform: translateX(-120%) rotate(18deg);
    }

    45% {
        transform: translateX(140%) rotate(18deg);
    }

    100% {
        transform: translateX(140%) rotate(18deg);
    }
}

.section-tint::after,
.section-white::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(15, 92, 255, 0.10), transparent 65%);
    filter: blur(4px);
    animation: softFloat 8s ease-in-out infinite;
}

.section-tint::after {
    left: 5%;
    top: 12%;
}

.section-white::after {
    right: 7%;
    bottom: 8%;
}

@keyframes softFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(16px, -18px, 0);
    }
}

.visual-card {
    animation: cardFloat 6s ease-in-out infinite;
}

.visual-card-small {
    animation-delay: 1.2s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Respektuje nastavení uživatele v systému */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* ================================
   CONTACT PAGE
================================ */

.contact-hero {
    padding: 44px 0 34px;
}

.contact-hero-card {
    position: relative;
    overflow: hidden;
    padding: 64px;
    border-radius: var(--cc-radius);
    background:
        radial-gradient(circle at 78% 10%, rgba(15, 92, 255, 0.11), transparent 34%),
        radial-gradient(circle at 10% 88%, rgba(25, 201, 245, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(237, 245, 255, 0.82));
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
}

.contact-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 92, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 92, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 82% 10%, #000 0%, transparent 42%);
}

.contact-hero-card > .row {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--cc-navy);
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.07em;
}

.contact-hero p {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--cc-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

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

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 116px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--cc-border);
    box-shadow: 0 16px 44px rgba(10, 30, 82, 0.07);
}

.contact-info-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--cc-primary);
    background: var(--cc-primary-soft);
    font-size: 1.25rem;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--cc-navy);
    font-weight: 900;
}

.contact-info-item a,
.contact-info-item span {
    color: var(--cc-muted);
    text-decoration: none;
    line-height: 1.55;
}

.contact-info-item a:hover {
    color: var(--cc-primary);
}

.contact-form-card {
    position: relative;
    padding: 36px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--cc-border);
    box-shadow: 0 24px 70px rgba(10, 30, 82, 0.13);
    backdrop-filter: blur(16px);
}

.contact-form-heading {
    margin-bottom: 26px;
}

.contact-form-heading span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--cc-primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.contact-form-heading h2 {
    margin: 0 0 8px;
    color: var(--cc-navy);
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.contact-form-heading p {
    margin: 0;
    color: var(--cc-muted);
    font-size: 0.98rem;
}

.contact-form .form-label {
    color: var(--cc-navy);
    font-weight: 850;
    font-size: 0.9rem;
}

.contact-form .form-control {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(15, 92, 255, 0.16);
    color: var(--cc-text);
    background: rgba(248, 251, 255, 0.88);
    padding: 13px 15px;
    box-shadow: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 170px;
}

.contact-form .form-control::placeholder {
    color: #9aa8c9;
}

.contact-form .form-control:focus {
    border-color: rgba(15, 92, 255, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(15, 92, 255, 0.09);
}

.form-hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 24px;
}

.contact-form-footer p {
    max-width: 390px;
    margin: 0;
    color: var(--cc-muted);
    font-size: 0.83rem;
    line-height: 1.55;
}

.contact-map-section {
    padding: 34px 0 60px;
}

.contact-map-card {
    overflow: hidden;
    border-radius: var(--cc-radius);
    background:
        linear-gradient(135deg, rgba(237, 245, 255, 0.95), rgba(255, 255, 255, 0.86));
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
}

.contact-map-content {
    padding: 42px 42px 26px;
}

.contact-map-content h2 {
    margin: 0 0 12px;
    color: var(--cc-navy);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.contact-map-content p {
    max-width: 720px;
    margin: 0;
    color: var(--cc-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-map {
    padding: 0 18px 18px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border-radius: 24px;
    filter: saturate(0.96) contrast(1.02);
}

/* Contact responsive */

@media (max-width: 991px) {
    .contact-hero-card {
        padding: 42px 28px;
    }

    .contact-form-card {
        padding: 28px;
    }

    .contact-form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-form-footer .btn-brand {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 26px 0;
    }

    .contact-hero-card {
        padding: 32px 20px;
        border-radius: 24px;
    }

    .contact-hero h1 {
        font-size: 2.45rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        min-height: auto;
    }

    .contact-form-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .contact-map-content {
        padding: 30px 22px 20px;
    }

    .contact-map {
        padding: 0 12px 12px;
    }

    .contact-map iframe {
        min-height: 340px;
        border-radius: 20px;
    }
}

/* Services */

.services-hero,
.service-detail-hero {
    padding: 34px 0 64px;
}

.services-hero-grid,
.service-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 42px;
    align-items: center;
}

.services-hero h1,
.service-detail-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: var(--cc-navy);
    font-size: 4.2rem;
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: 0;
}

.services-hero p,
.service-detail-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--cc-muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.services-hero-actions,
.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn-service-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--cc-primary-dark);
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--cc-border);
    font-weight: 850;
    text-decoration: none;
}

.btn-service-ghost:hover {
    color: var(--cc-primary);
    background: white;
}

.services-hero-panel,
.service-detail-visual {
    min-height: 400px;
    padding: 18px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.95), rgba(234,242,255,0.82));
    border: 1px solid var(--cc-border);
    box-shadow: var(--cc-shadow);
}

.service-signal {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 116px;
    margin-bottom: 14px;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--cc-border);
}

.service-signal span {
    color: var(--cc-primary);
    font-size: 3rem;
    font-weight: 950;
    line-height: 1;
}

.service-signal strong {
    color: var(--cc-navy);
    font-size: 1.05rem;
    line-height: 1.35;
}

.services-list-section,
.service-detail-main {
    padding: 70px 0;
    background:
        radial-gradient(circle at 92% 12%, rgba(25, 201, 245, 0.1), transparent 28%),
        rgba(255,255,255,0.42);
}

.services-list-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 34px;
}

.services-list-head h2,
.services-process-grid h2,
.service-detail-band h2 {
    max-width: 760px;
    margin: 0;
    color: var(--cc-navy);
    font-size: 3.6rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
}

.services-list-head p {
    margin: 0;
    color: var(--cc-muted);
    line-height: 1.75;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--cc-border);
    box-shadow: 0 18px 44px rgba(10, 30, 82, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(10, 30, 82, 0.14);
}

.service-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--cc-primary-soft);
    text-decoration: none;
}

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

.service-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 28px;
    color: var(--cc-primary);
    background:
        linear-gradient(135deg, rgba(234,242,255,0.95), rgba(255,255,255,0.88));
}

.service-card-placeholder span {
    font-size: 3.4rem;
    font-weight: 950;
    line-height: 1;
}

.service-card-placeholder i {
    font-size: 2.4rem;
}

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.service-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.service-card-topline span {
    color: var(--cc-primary);
    font-weight: 950;
}

.service-card-topline strong {
    color: var(--cc-primary-dark);
    font-size: 0.86rem;
}

.service-card h3 {
    margin: 0 0 12px;
    color: var(--cc-navy);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.2;
}

.service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.service-card p {
    margin: 0 0 22px;
    color: var(--cc-muted);
    line-height: 1.65;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--cc-primary);
    font-weight: 900;
    text-decoration: none;
}

.services-process {
    padding: 74px 0;
    color: white;
    background: linear-gradient(135deg, var(--cc-primary-dark), var(--cc-primary));
}

.services-process .section-kicker,
.services-process-grid h2 {
    color: white;
}

.services-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 40px;
    align-items: start;
}

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

.services-process-steps div {
    min-height: 230px;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
}

.services-process-steps span {
    color: #b8dcff;
    font-size: 2.2rem;
    font-weight: 950;
}

.services-process-steps strong {
    display: block;
    margin: 18px 0 10px;
    font-size: 1.12rem;
    line-height: 1.35;
}

.services-process-steps p {
    margin: 0;
    color: rgba(255,255,255,0.76);
    line-height: 1.65;
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--cc-primary-dark);
    font-weight: 850;
    text-decoration: none;
}

.service-detail-visual {
    overflow: hidden;
}

.service-detail-visual img {
    width: 100%;
    height: 100%;
    min-height: 424px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.service-detail-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 424px;
    padding: 30px;
    border-radius: 8px;
    color: var(--cc-navy);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(234,242,255,0.82));
}

.service-detail-placeholder i {
    color: var(--cc-primary);
    font-size: 3rem;
}

.service-detail-placeholder strong {
    margin-top: 18px;
    font-size: 2rem;
    font-weight: 950;
}

.service-detail-placeholder span {
    max-width: 360px;
    color: var(--cc-muted);
    line-height: 1.65;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.service-detail-content,
.service-aside-box {
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--cc-border);
    box-shadow: 0 18px 44px rgba(10, 30, 82, 0.08);
}

.service-detail-content {
    padding: 42px;
}

.service-richtext {
    color: var(--cc-text);
    font-size: 1.04rem;
    line-height: 1.8;
}

.service-richtext h2,
.service-richtext h3 {
    margin: 34px 0 14px;
    color: var(--cc-navy);
    font-weight: 950;
    letter-spacing: 0;
}

.service-richtext h2:first-child,
.service-richtext h3:first-child,
.service-richtext p:first-child {
    margin-top: 0;
}

.service-richtext p {
    margin-bottom: 18px;
}

.service-richtext ul,
.service-richtext ol {
    padding-left: 1.25rem;
    margin-bottom: 22px;
}

.service-richtext li {
    margin-bottom: 8px;
}

.service-detail-aside {
    position: sticky;
    top: 132px;
}

.service-aside-box {
    padding: 26px;
    margin-bottom: 16px;
}

.service-aside-box > span {
    display: block;
    color: var(--cc-primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.service-aside-box > strong {
    display: block;
    margin: 8px 0 12px;
    color: var(--cc-navy);
    font-size: 1.8rem;
    font-weight: 950;
}

.service-aside-box p,
.service-aside-box li {
    color: var(--cc-muted);
    line-height: 1.65;
}

.service-aside-muted h2 {
    margin: 0 0 14px;
    color: var(--cc-navy);
    font-size: 1.15rem;
    font-weight: 950;
}

.service-aside-muted ul {
    padding-left: 1.1rem;
    margin: 0;
}

.service-detail-band {
    padding: 22px 0 68px;
}

.service-detail-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--cc-primary-dark), var(--cc-primary));
    box-shadow: 0 24px 70px rgba(15, 92, 255, 0.24);
}

.service-detail-band .section-kicker,
.service-detail-band h2 {
    color: white;
}

@media (max-width: 991px) {
    .services-hero-grid,
    .service-detail-hero-grid,
    .services-list-head,
    .services-process-grid,
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .services-hero h1,
    .service-detail-hero h1 {
        font-size: 3.4rem;
    }

    .services-list-head h2,
    .services-process-grid h2,
    .service-detail-band h2 {
        font-size: 3rem;
    }

    .services-grid,
    .services-process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-aside {
        position: static;
    }
}

@media (max-width: 767px) {
    .services-hero,
    .service-detail-hero {
        padding: 24px 0 42px;
    }

    .services-hero h1,
    .service-detail-hero h1 {
        font-size: 2.75rem;
    }

    .services-list-head h2,
    .services-process-grid h2,
    .service-detail-band h2 {
        font-size: 2.25rem;
    }

    .services-hero-panel,
    .service-detail-visual {
        min-height: auto;
    }

    .service-signal {
        grid-template-columns: 68px minmax(0, 1fr);
        min-height: 112px;
        padding: 18px;
    }

    .service-signal span {
        font-size: 2.6rem;
    }

    .services-grid,
    .services-process-steps {
        grid-template-columns: 1fr;
    }

    .services-list-section,
    .service-detail-main,
    .services-process {
        padding: 46px 0;
    }

    .service-detail-content,
    .service-aside-box {
        padding: 24px 18px;
    }

    .service-detail-visual img,
    .service-detail-placeholder {
        min-height: 280px;
    }

    .service-detail-band-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 20px;
    }

    .service-detail-band-inner .btn {
        width: 100%;
    }
}
