.container {
    width: min(100%, calc(100% - 24px));
}

.site-header .container {
    width: 100%;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
}

.page-content.container {
    width: 100%;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
}

.header-inner {
    gap: 8px;
    padding: 0 0 8px;
}

.header-top {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 10px;
}

.brand {
    width: auto;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}


.header-info {
    align-items: center;
}

.brand-text {
    align-items: center;
    text-align: center;
}

.brand-logo {
    width: 98px;
    height: 98px;
}

.brand-name {
    font-size: 1.15rem;
}

.brand-subtitle {
    font-size: 1rem;
}

.header-contact {
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 0.88rem;
    gap: 2px;
    padding-top: 0;
    flex-wrap: nowrap;
}

.nav-toggle {
    display: inline-block;
}

.main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 102, 177, 0.16);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.main-nav a {
    border-radius: 999px;
}

.main-nav.is-open {
    display: flex;
}


.page-content {
    padding: 34px 0;
}

.hero,
.section-head,
.contact-cta {
    border-radius: 18px;
    padding: 22px;
}

.hero-split {
    grid-template-columns: 1fr;
    gap: 18px;
}

.hero-media {
    align-items: stretch;
}

.hero-image,
.team-photo {
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
}

.hero-media-text {
    text-align: left;
}

.hero-actions {
    flex-direction: column;
}

.hero-actions .btn {
    width: 100%;
}

.hero-media-actions {
    width: 100%;
}

.hero-media-actions .btn {
    width: 100%;
}

.card-grid {
    gap: 14px;
}

.card,
.contact-grid .card {
    grid-column: span 12;
    padding: 18px;
}

.hours-grid .hours-card {
    grid-column: span 12;
}

.hours-list li {
    flex-direction: column;
    gap: 2px;
}

.hours-time {
    text-align: left;
}

.appointment-actions .btn {
    width: 100%;
}

.cv-grid .cv-card,
.cv-grid .cv-card-wide {
    grid-column: span 12;
}

.cv-col-period {
    width: 120px;
    white-space: normal;
}

.cv-table th,
.cv-table td {
    padding: 10px;
}

.service-card-image {
    max-width: 100%;
}

.card h2 {
    font-size: 1.35rem;
}

.page-kontakt .card h2 {
    font-size: 1.3rem;
    line-height: 1.25;
}

.footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.footer-col {
    min-width: 0;
}

.footer-col + .footer-col {
    border-left: none;
    padding-left: 0;
}

.footer-col:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 10px;
}

.footer-links li,
.footer-inner p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    padding-bottom: 16px;
}

.cookie-notice-inner {
    flex-direction: column;
    align-items: stretch;
}

.cookie-notice-inner .btn {
    width: 100%;
}

.scroll-top-button {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}
