:root {
    --color-primary: #102436;
    --color-dark: #071B2A;
    --color-accent: #B3CEE5;
    --color-accent-dark: #6FA2CE;
    --color-soft: #F1F8FD;
    --color-soft-2: #E8F3FB;
    --color-border: #DCECF8;
    --color-muted: #5F7485;
    --color-white: #FFFFFF;
    --shadow-soft: 0 18px 45px rgba(16, 36, 54, 0.08);
    --radius: 20px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-primary);
    background: var(--color-white);
    line-height: 1.55;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    height: 86px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__logo,
.brand {
    display: inline-flex;
    align-items: center;
}

.brand img,
.custom-logo {
    width: 160px;
    height: auto;
    display: block;
}

.desktop-nav {
    margin-left: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease;
}

.menu a:hover,
.current-menu-item > a {
    color: var(--color-primary);
}

.header__cta {
    margin-left: 8px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(7, 27, 42, 0.42);
    padding: 22px;
}

.mobile-menu__panel {
    width: min(380px, calc(100vw - 44px));
    margin-left: auto;
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 26px;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.mobile-menu__close {
    border: 0;
    background: transparent;
    font-size: 30px;
    color: var(--color-primary);
    cursor: pointer;
}

.mobile-menu__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu__list a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 700;
}

.mobile-menu__list a:hover,
.mobile-menu__list .current-menu-item > a {
    background: var(--color-soft-2);
}

.mobile-menu__cta {
    width: 100%;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(16, 36, 54, .10);
}

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

.btn-secondary {
    color: var(--color-accent-dark);
    background: var(--color-white);
    border-color: var(--color-border);
}

.hero,
.subpage-hero {
    padding: 90px 0 70px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 72px;
    align-items: center;
}

.eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--color-accent-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.hero p,
.subpage-hero p,
.section-lead {
    color: var(--color-muted);
    font-size: 18px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.building-card {
    min-height: 300px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-soft), var(--color-soft-2));
    display: grid;
    place-items: center;
    gap: 12px;
    padding: 28px;
    color: var(--color-muted);
    text-align: center;
}

.building-card--wide {
    min-height: 260px;
}

.building-icon {
    width: 150px;
    height: 110px;
    display: block;
    opacity: .75;
    background:
        linear-gradient(var(--color-white), var(--color-white)) 35px 24px / 14px 14px,
        linear-gradient(var(--color-white), var(--color-white)) 68px 24px / 14px 14px,
        linear-gradient(var(--color-white), var(--color-white)) 101px 24px / 14px 14px,
        linear-gradient(var(--color-white), var(--color-white)) 35px 55px / 14px 14px,
        linear-gradient(var(--color-white), var(--color-white)) 68px 55px / 14px 14px,
        linear-gradient(var(--color-white), var(--color-white)) 101px 55px / 14px 14px,
        linear-gradient(#CFE3F2, #CFE3F2) center / 110px 90px;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.section,
.page-section {
    padding: 86px 0;
}

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

.section--soft {
    background: var(--color-soft);
}

.section--dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.stats__grid,
.cards-grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card,
.service-card,
.value-card,
.step-card,
.team-card,
.content-card,
.contact-form,
details {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(16, 36, 54, 0.04);
}

.stat-card {
    display: flex;
    min-height: 96px;
    padding: 26px 22px;
    flex-direction: column;
    justify-content: center;
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 30px;
    line-height: 1;
}

.stat-card span {
    color: var(--color-muted);
    font-size: 13px;
}

.service-card,
.value-card,
.step-card {
    padding: 28px;
}

.service-card a {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-accent-dark);
    font-weight: 800;
    text-decoration: none;
}

.card-icon,
.step-card span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    color: var(--color-accent-dark);
    background: var(--color-soft-2);
    font-weight: 800;
}

.service-card p,
.value-card p,
.step-card p,
.team-card p {
    color: var(--color-muted);
    font-size: 14px;
}

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

.check-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 800;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-grid .team-card:nth-child(n+5) {
    transform: translateX(calc(50% + 12px));
}

.team-card {
    padding: 30px 22px;
    text-align: center;
}

.team-card--without-photo {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-card--without-photo h3 {
    margin: 0 0 6px;
}

.team-card--without-photo p {
    margin: 0 0 14px;
}

.team-card a {
    color: var(--color-accent-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.steps-vertical {
    display: grid;
    gap: 16px;
}

details {
    padding: 18px 22px;
    margin-bottom: 14px;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

.contact-form {
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    color: var(--color-primary);
    background: var(--color-white);
}

.form-note {
    margin-top: 18px;
    color: var(--color-muted);
    font-size: 13px;
}

.footer__cta {
    text-align: center;
}

.footer__cta {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 70px 0;
}

.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
}

.site-footer p {
    color: #CFE3F2;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 30px 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__bottom .brand img {
    filter: brightness(0) invert(1);
}

.page-content {
    max-width: 860px;
}

.entry-content {
    color: var(--color-muted);
}

@media (max-width: 980px) {
    .desktop-nav,
    .header__cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero,
    .subpage-hero {
        padding: 62px 0 54px;
    }

    .hero__grid,
    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-form {
        padding: 24px;
    }

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

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

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

    .team-grid .team-card:nth-child(n+5) {
        transform: none;
    }

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

@media (max-width: 560px) {
    .container {
        width: min(100% - 32px, 390px);
    }

    .header__inner {
        height: 74px;
    }

    .brand img,
    .custom-logo {
        width: 138px;
    }

    .hero,
    .subpage-hero {
        padding: 42px 0;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

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

    .building-card {
        min-height: 220px;
    }

    .stats__grid {
        gap: 12px;
    }

    .cards-grid--3,
    .team-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .service-card,
    .value-card,
    .step-card,
    .contact-form {
        padding: 22px;
    }

    .team-card--without-photo {
        display: block;
        min-height: 0;
        text-align: left;
    }

    .team-card--without-photo h3 {
        margin: 0 0 6px;
    }

    .team-card--without-photo p {
        margin: 0 0 12px;
    }

    .mobile-menu__panel {
        width: 100%;
        margin: 0;
    }
}

/* Editovatelná V2: vložené obrázky zachovají původní rozložení karet. */
.image-visual {
    padding: 0;
    overflow: hidden;
    display: block;
    background: var(--color-soft-2);
}

.image-visual img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.page-featured-image {
    margin-bottom: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.extra-page-content {
    padding-top: 0;
}

/* Contact Form 7 compatibility */
.contact-form .wpcf7-form p {
    margin: 0 0 16px;
}

.contact-form .wpcf7-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.contact-form .wpcf7-form-control-wrap {
    display: block;
}

.contact-form .wpcf7-submit {
    width: auto;
    border: 0;
    border-radius: 12px;
    padding: 13px 18px;
    cursor: pointer;
    font-weight: 800;
    color: var(--color-white);
    background: var(--color-accent);
}

.contact-form .wpcf7-response-output {
    margin: 18px 0 0;
    border-radius: 10px;
    padding: 12px 14px;
}


/* =========================================================
   V7 – modernější karty bez opakujících se koleček s písmeny
   ========================================================= */

.service-card--clean,
.feature-card--clean {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 220px;
    flex-direction: column;
    overflow: hidden;
    padding: 34px;
    background: linear-gradient(180deg, var(--color-white) 0%, #FBFDFF 100%);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card--clean::before,
.feature-card--clean::before {
    content: "";
    width: 56px;
    height: 4px;
    display: block;
    flex: 0 0 auto;
    margin-bottom: 24px;
    border-radius: 999px;
    background: var(--color-accent-dark);
}

.service-card--clean:hover,
.feature-card--clean:hover,
.value-card--minimal:hover {
    transform: translateY(-3px);
    border-color: #C8DEEE;
    box-shadow: 0 18px 38px rgba(16, 36, 54, 0.09);
}

.clean-card__content {
    min-width: 0;
}

.service-card--clean h3,
.feature-card--clean h3,
.value-card--minimal h3 {
    margin-bottom: 12px;
    font-size: clamp(19px, 1.6vw, 22px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.service-card--clean p,
.feature-card--clean p,
.value-card--minimal p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.7;
    hyphens: auto;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.service-card--clean .clean-card__link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 22px;
    color: var(--color-accent-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.service-card--clean .clean-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Vyvážené rozložení pěti položek: 3 nahoře, 2 širší dole. */
.balanced-grid--5 {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.balanced-grid--5 > * {
    grid-column: span 2;
}

.balanced-grid--5 > *:nth-child(n + 4) {
    grid-column: span 3;
}

.value-card--minimal,
.feature-card--clean {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(16, 36, 54, 0.04);
}

.value-card--minimal {
    position: relative;
    min-width: 0;
    min-height: 190px;
    overflow: hidden;
    padding: 34px 36px 32px 40px;
    border-left: 4px solid var(--color-accent-dark);
    background: linear-gradient(135deg, var(--color-white) 0%, #FBFDFF 100%);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.value-card--minimal::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    border-radius: 0 0 0 72px;
    background: var(--color-soft-2);
    opacity: .65;
    pointer-events: none;
}

.value-card__content {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 48ch;
}

@media (max-width: 980px) {
    .balanced-grid--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .balanced-grid--5 > *,
    .balanced-grid--5 > *:nth-child(n + 4) {
        grid-column: auto;
    }

    .balanced-grid--5 > *:last-child:nth-child(odd) {
        width: calc(50% - 12px);
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 560px) {
    .service-card--clean,
    .feature-card--clean {
        min-height: 0;
        padding: 26px;
    }

    .balanced-grid--5 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .balanced-grid--5 > *,
    .balanced-grid--5 > *:nth-child(n + 4),
    .balanced-grid--5 > *:last-child:nth-child(odd) {
        width: 100%;
        grid-column: auto;
    }

    .value-card--minimal {
        min-height: 0;
        padding: 26px 28px 26px 30px;
    }

    .value-card--minimal::after {
        width: 54px;
        height: 54px;
        border-radius: 0 0 0 54px;
    }
}


/* Klikatelné odkazy v patičce – V9 */
.footer-links {
    margin: 0;
}

.footer-links__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links__list li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer-links__list li + li::before {
    content: "|";
    margin: 0 0.45rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links a {
    color: #e8f5ff;
    text-decoration: none;
    text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .footer-links__list {
        row-gap: 0.55rem;
    }
}


/* V10: rozšířená a lépe čitelná sekce průběhu spolupráce na úvodní stránce. */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.process-card,
.process-summary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-white) 0%, #FBFDFF 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(16, 36, 54, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.process-card {
    min-height: 220px;
    padding: 34px;
}

.process-summary {
    margin-top: 24px;
    padding: 34px;
}

.process-card::before,
.process-summary::before {
    content: "";
    width: 56px;
    height: 4px;
    display: block;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--color-accent-dark);
}

.process-card:hover,
.process-summary:hover {
    transform: translateY(-3px);
    border-color: #C8DEEE;
    box-shadow: 0 18px 38px rgba(16, 36, 54, 0.09);
}

.process-card__meta {
    display: block;
    margin-bottom: 18px;
    color: var(--color-accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.process-card__meta::after {
    display: none;
}

.process-card h3,
.process-summary h3 {
    margin: 0 0 12px;
    font-size: clamp(19px, 1.6vw, 22px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.process-card p,
.process-summary p {
    margin: 0;
    max-width: 980px;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.7;
    hyphens: auto;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

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

    .process-card {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .process-card,
    .process-summary {
        padding: 22px;
    }

    .process-card h3 {
        margin-top: 18px;
        font-size: 20px;
    }
}


/* =========================================================
   V12 – obrázkové karty na stránce Služby
   ========================================================= */
.service-card--media {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    background: var(--color-white);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card--media:hover {
    transform: translateY(-3px);
    border-color: #C8DEEE;
    box-shadow: 0 18px 38px rgba(16, 36, 54, 0.09);
}

.service-card__image {
    position: relative;
    aspect-ratio: 16 / 7.5;
    overflow: hidden;
    background: var(--color-soft-2);
}

.service-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-card--media:hover .service-card__image img {
    transform: scale(1.035);
}

.service-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 24px 26px 26px;
}

.service-card--media h3 {
    margin: 0 0 10px;
    font-size: clamp(19px, 1.6vw, 22px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.service-card--media p {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.65;
    hyphens: auto;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.service-card--media .service-card__link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
    color: var(--color-accent-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.service-card--media .service-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-card--no-image::before {
    content: "";
    height: 4px;
    display: block;
    flex: 0 0 auto;
    background: var(--color-accent-dark);
}

@media (max-width: 560px) {
    .service-card__image {
        aspect-ratio: 16 / 9;
    }

    .service-card__body {
        padding: 22px;
    }
}


/* =========================================================
   V17 – kompaktní kontaktní stránka
   ========================================================= */
.contact-hero {
    padding-bottom: 54px;
}

.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.contact-quick-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    min-height: 150px;
    padding: 24px;
    align-items: start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(16, 36, 54, 0.04);
}

.contact-quick-card .card-icon {
    width: 38px;
    height: 38px;
    margin: 0;
}

.contact-quick-card h3 {
    margin: 2px 0 10px;
    font-size: 19px;
}

.contact-quick-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-quick-card .contact-hours {
    margin-top: 6px;
}

.contact-quick-links {
    display: grid;
    gap: 6px;
}

.contact-quick-links a {
    color: var(--color-accent-dark);
    font-weight: 800;
    text-decoration: none;
}

.contact-quick-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-section-heading {
    width: 100%;
    max-width: none;
    margin-bottom: 30px;
}

.contact-section-heading p {
    margin-bottom: 0;
    color: var(--color-muted);
}

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

.contact-person-card {
    display: flex;
    min-height: 160px;
    padding: 24px;
    flex-direction: column;
    gap: 10px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 28px rgba(16, 36, 54, 0.04);
}

.contact-person-card:nth-child(7) {
    grid-column: 2;
}

.contact-person-card__body {
    margin-bottom: 0;
}

.contact-person-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.contact-person-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
}

.contact-person-card a {
    margin-top: 0;
    color: var(--color-accent-dark);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}

.contact-person-card a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


#kontaktni-formular {
    scroll-margin-top: 110px;
}

.contact-form-section {
    background: var(--color-white);
}

.contact-form-container {
    display: grid;
    justify-items: center;
}

.contact-form--centered {
    width: min(100%, 860px);
    padding: 38px;
}

.contact-form--centered > h2 {
    margin-top: 4px;
}

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

    .contact-quick-card {
        min-height: 0;
    }

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

    .contact-person-card,
    .contact-person-card:nth-child(7) {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .contact-quick-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

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

    .contact-person-card {
        min-height: 0;
        padding: 22px;
    }

    .contact-person-card a {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .contact-form--centered {
        padding: 24px;
    }
}


/* =========================================================
   V22 – Google recenze / Trustindex widget
   ========================================================= */
.reviews-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--color-soft-2) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.reviews-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(111, 162, 206, 0.08);
    pointer-events: none;
}

.reviews-section__header {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.reviews-section__heading {
    max-width: 760px;
}

.reviews-section__heading .section-lead {
    margin-bottom: 0;
}

.reviews-section__button {
    flex: 0 0 auto;
}

.reviews-widget-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    padding: 20px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 34px rgba(16, 36, 54, 0.06);
}

.reviews-widget-shell > * {
    max-width: 100% !important;
}

.reviews-widget-shell iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
}

.reviews-widget-shell .ti-widget,
.reviews-widget-shell [class*="ti-widget"],
.reviews-widget-shell [class*="trustindex"] {
    max-width: 100% !important;
    font-family: inherit !important;
}

@media (max-width: 760px) {
    .reviews-section__header {
        display: grid;
        align-items: start;
    }

    .reviews-section__button {
        justify-self: start;
    }

    .reviews-widget-shell {
        padding: 14px;
    }
}
