/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d9596;
    --secondary-color: #9ad0c2;
    --accent-color: #ffd966;
    --accent-soft: #fff4d6;
    --gradient-start: #265073;
    --gradient-end: #2d9596;
    --text-dark: #1a1a1a;
    --text-light: #4a5568;
    --bg-light: #f8fffe;
    --white: #ffffff;
    --shadow: rgba(45, 149, 150, 0.15);
    --shadow-hover: rgba(45, 149, 150, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    /* "Lepivá" patička — na krátkých stránkách (např. potvrzení rezervace)
       zůstane dole u okraje okna, místo aby "visela" hned pod krátkým obsahem. */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    background-color: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    backdrop-filter: blur(10px);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: block;
    line-height: 0;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 70px;
    width: auto;
    display: block;
}

/* Navigace */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

/* Zvýrazněná položka "Rezervace" v hlavní navigaci.
   display:inline-flex + align-items:center vycentruje text napevno —
   spoléhat jen na line-height dělalo v zaobleném pozadí opticky větší
   mezeru nahoře než dole. */
.nav-menu li a.nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.nav-menu li a.nav-cta:hover,
.nav-menu li a.nav-cta.active {
    background: var(--gradient-start);
    color: var(--white);
    transform: translateY(-1px);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    background-image: url('/images/hero-desktop.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Jemný filtr na pozadí */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: brightness(0.95) saturate(1.1);
    z-index: 1;
}

.hero-overlay {
    width: 100%;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.95;
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sekce */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
}

/* Content Box */
.content-box {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-box p {
    margin-bottom: 1.5rem;
}

/* About Section - Fotka vlevo, text vpravo */
.about-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
}

.about-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px var(--shadow-hover);
    border: 5px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.about-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem !important;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border: 2px solid var(--accent-color);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(45, 149, 150, 0.2));
}

.service-card:hover .service-icon svg {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(45, 149, 150, 0.3));
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section - pozadí s obrázkem */
#vyhody {
    background-image: url('/images/background-vyhody.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

#vyhody::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 255, 254, 0.85);
    backdrop-filter: blur(2px);
    z-index: 0;
}

#vyhody .container {
    position: relative;
    z-index: 1;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(45, 149, 150, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--shadow-hover);
    background: rgba(255, 255, 255, 0.97);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(45, 149, 150, 0.15));
}

.benefit-item:hover .benefit-icon svg {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(45, 149, 150, 0.25));
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pricing Wrapper - dvousloupcový layout */
.pricing-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.pricing-illustration {
    flex-shrink: 0;
    width: 350px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-illustration svg {
    width: 350px;
    height: 350px;
    filter: drop-shadow(0 4px 12px rgba(45, 149, 150, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.pricing-illustration svg:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 16px rgba(45, 149, 150, 0.25));
}

/* Pricing Table */
.pricing-table {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    border: 1px solid var(--accent-soft);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--accent-soft);
}

.price-item:last-child {
    border-bottom: none;
}

.price-duration {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
}

.price-amount {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
    margin-left: 1rem;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
}

.voucher-info {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    max-width: 1100px;
    margin: 0 auto;
}

.voucher-info p {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Oblast působnosti Section */
.area-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.area-category {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(45, 149, 150, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--shadow-hover);
}

.area-dropdown-toggle {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: default;
    pointer-events: none;
}

.dropdown-icon {
    display: none;
}

.area-category h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-soft);
}

.cities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cities-list li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--bg-light);
    transition: padding-left 0.3s ease, color 0.3s ease;
	cursor: default;
}

.cities-list li:last-child {
    border-bottom: none;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

.cities-list li:hover {
    padding-left: 0.5rem;
    color: var(--primary-color);
}

.area-note {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.weight-tisnov  {
	font-weight: 500;
}

.area-intro.weight-tisnov a {
    color: inherit;
    text-decoration: none;
	font-weight: 600;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
    transition: color 0.3s ease;
}
.area-intro.weight-tisnov a:hover {
    color: var(--primary-color);
	border-color: var(--primary-color);
}

/* Contact Section */
.section-contact {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.contact-wrapper {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-photo-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-hover);
    border: 5px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-photo img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.contact-info-box {
    flex: 1;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    border: 1px solid var(--accent-soft);
    display: flex;
    flex-direction: column;
	align-items: center;
}

.contact-info-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(45, 149, 150, 0.1);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover .contact-item-icon svg {
    color: var(--gradient-start);
    transform: scale(1.1);
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-contact,
.btn-contact-secondary {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: block;
}

.btn-contact {
    background: var(--gradient-start);
    color: var(--white);
    border-color: var(--gradient-start);
}

.btn-contact:hover {
    background: #1a3a4d;
    border-color: #1a3a4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.btn-contact-secondary {
    background: var(--white);
    color: var(--gradient-start);
    border-color: var(--gradient-start);
}

.btn-contact-secondary:hover {
    background: var(--gradient-start);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--primary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 6px 30px var(--shadow-hover);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Footer */
#footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
}

#footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

#footer a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-color);
}

.footer-text-mobile {
    display: none;
}

.footer-text-desktop {
    display: block;
}

/* Skrytí položky Recenze v desktop navigaci */
.nav-desktop-only {
    display: none;
}

/* Reviews Carousel */
.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 750px;
    margin: 0 auto;
}

.reviews-track-wrapper {
    overflow: hidden;
    flex: 1;
    border-radius: 20px;
    transition: height 0.8s ease;
}

.reviews-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
    min-width: 100%;
    padding: 3rem 3rem 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    position: relative;
    border: 1px solid var(--accent-soft);
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1.8rem;
    font-size: 5rem;
    color: var(--accent-color);
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.9;
}

.review-stars {
    color: #f5b800;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: 4px;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.review-author {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 0.8rem;
    border-top: 2px solid var(--accent-soft);
}

.reviews-arrow {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 3px 10px var(--shadow);
    line-height: 1;
    padding-bottom: 2px;
}

.reviews-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.25);
}

.dot:hover:not(.active) {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Responzivní design - Tablet */
@media (max-width: 968px) {
    .hero {
        background-image: url('/images/hero-tablet.jpeg');
        min-height: 60vh;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .benefits-grid {
        gap: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        gap: 2rem;
    }

    .about-image img {
        width: 280px;
        height: 280px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .pricing-wrapper {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .pricing-illustration {
        display: none;
    }

    .area-grid {
        gap: 2rem;
    }

    .reviews-carousel {
        gap: 1rem;
    }

    .reviews-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.7rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 25px;
    }

    .back-to-top svg {
        width: 22px;
        height: 22px;
    }
}

/* Responzivní kontakty - střední obrazovky */
@media (max-width: 895px) {
    .contact-wrapper {
        gap: 1.5rem;
    }
}

/* =======================================================================
   Rozšíření obsahu (texty-na-web.txt) — nová podnabídka, obsahové prvky
   ======================================================================= */

/* Podnabídka "Služby" v hlavní navigaci (desktop = hover dropdown).
   Tyto základní (nemediální) rules MUSÍ být před @media (max-width: 1023px)
   níže — mají stejnou specificitu jako mobilní přepsání, takže při opačném
   pořadí by zde definovaný display:none vždy vyhrál i na mobilu. */
.has-submenu {
    position: relative;
}

.has-submenu > .submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 12px 40px var(--shadow-hover);
    padding: 0.75rem;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 0.1rem 1rem;
    min-width: 480px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1100;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-menu .submenu li {
    padding: 0;
    text-align: center;
}

.nav-menu .submenu a {
    display: block;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-dark);
}

.nav-menu .submenu a:hover,
.nav-menu .submenu a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.submenu-head {
    position: relative;
}

.submenu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.submenu-toggle .dropdown-icon {
    display: block;
    font-size: 0.75rem;
}

/* Hamburger menu — od této šířky a menší se místo vodorovné navigace
   zobrazuje hamburger + rozbalovací panel (viz i .has-submenu výše). */
@media (max-width: 1023px) {
    #header .container {
        flex-wrap: wrap;
        align-items: center;
    }

    .logo {
        flex: 1;
        order: 1;
    }

    .hamburger {
        display: flex;
        order: 2;
        align-self: center;
    }

    #nav {
        flex-basis: 100%;
        order: 3;
    }

    /* Překryvné mobilní menu — nesmí posouvat obsah stránky pod sebou.
       Kotví se vůči #header (jde přes celou šířku), ne vůči #nav/.container
       (ty mají boční padding, což by menu zúžilo a nechalo prosvítat pozadí). */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch; /* na mobilu chceme položky přes celou šířku (velká dotyková plocha), ne centrované podle obsahu */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        gap: 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background-color: var(--bg-light);
        border-radius: 0 0 16px 16px;
        padding: 1rem 0;
        box-shadow: 0 8px 20px var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        padding: 0.3rem 0;
    }

    .nav-menu li a {
        display: block;
        padding: 0.8rem 1rem;
    }

    .nav-menu li a.nav-cta {
        display: inline-flex;
        margin-top: 0.3rem;
    }

    .has-submenu {
        position: relative;
    }

    .submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
    }

    .has-submenu > .submenu {
        position: static;
        display: block;
        grid-template-columns: 1fr;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 0;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: max-height 0.3s ease;
    }

    .has-submenu.open > .submenu {
        max-height: 600px;
    }

    /* Na dotykových zařízeních umí tap na odkaz vyvolat :hover/:focus-within —
       na mobilu to nesmí spustit desktopové posunutí panelu (translateX). */
    .has-submenu:hover > .submenu,
    .has-submenu:focus-within > .submenu {
        transform: none;
    }

    .nav-menu .submenu a {
        padding: 0.55rem 1rem 0.55rem 2rem;
        font-size: 0.9rem;
    }

    .has-submenu.open .submenu-toggle .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* Responzivní design - Mobile */
@media (max-width: 768px) {
    .hero {
        background-image: url('/images/hero-mobile.jpeg');
        min-height: 60vh;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .about-image img {
        width: 250px;
        height: 250px;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .area-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .area-category {
        padding: 0;
        box-shadow: 0 4px 15px rgba(45, 149, 150, 0.08);
    }

    .area-category:hover {
        transform: none;
    }

    .area-dropdown-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        background: var(--white);
        border: none;
        border-radius: 20px;
        padding: 1.5rem 2rem;
        cursor: pointer;
        pointer-events: auto;
        transition: background-color 0.3s ease;
    }

    .area-dropdown-toggle:hover {
        background-color: var(--bg-light);
    }

    .area-dropdown-toggle h3 {
        margin: 0;
        padding: 0;
        border: none;
        text-align: left;
    }

    .dropdown-icon {
        display: block;
        font-size: 1.2rem;
        color: var(--primary-color);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 1rem;
    }

    .area-dropdown-toggle[aria-expanded="true"] .dropdown-icon {
        transform: rotate(180deg);
    }

    .cities-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 2rem;
    }

    .cities-list.active {
        max-height: 500px;
        padding: 1.5rem 2rem;
    }

    .area-intro,
    .area-note {
        padding: 1rem;
    }

    .pricing-wrapper {
        margin-bottom: 2rem;
    }

    .pricing-illustration {
        display: none;
    }

    .pricing-table {
        padding: 2rem 1.5rem;
    }

    .price-item {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .price-amount {
        flex-basis: 100%;
        margin-left: 0;
        margin-top: 0.3rem;
    }

    .price-note {
        display: block;
        margin-left: 0;
        margin-top: 0.3rem;
    }

    .nav-desktop-only {
        display: block;
    }

    .reviews-carousel {
        gap: 0.5rem;
    }

    .reviews-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }

    .review-card {
        padding: 2.5rem 1.5rem 2rem;
    }

    .review-card::before {
        font-size: 4rem;
        left: 1.2rem;
    }

    .review-text {
        font-size: 1.05rem;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .contact-photo-box {
        order: -1;
        max-width: 400px;
        width: 100%;
    }

    .contact-info-box {
        padding: 2rem 1.5rem;
        width: 100%;
    }

    .contact-info-box h3 {
        font-size: 1.5rem;
    }

    .logo-image {
        height: 50px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url('/images/hero-mobile-small.jpeg');
        min-height: 50vh;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .footer-text-desktop {
        display: none;
    }

    .footer-text-mobile {
        display: block;
    }
}

@media (max-width: 450px) {
    .contact-photo-box {
        max-width: 300px;
    }

    .contact-info-box {
        padding: 2rem 1rem;
    }

    .contact-item {
        padding: 0.8rem 0.5rem;
    }
}

/* =======================================================================
   Vícestránkový web — nové sdílené komponenty
   ======================================================================= */

/* Aktivní položka v navigaci (aktuální stránka) */
.nav-menu li a.active {
    color: var(--primary-color);
}

/* Odkaz s šipkou (teaser sekce -> plná podstránka) */
.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--gradient-start);
    text-decoration: underline;
}

/* Plné CTA tlačítko pro světlé pozadí (mimo hero) */
.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
	text-align: center;
}

.btn-cta:hover {
    background-color: var(--gradient-start);
    border-color: var(--gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

/* Rychlé kontaktní tlačítko na úvodní stránce */
.contact-teaser-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.contact-teaser-wrapper .btn {
    flex: 1 1 200px;
    text-align: center;
}

/* Banner v hlavičce podstránek (O mně, Služby, Ceník, Oblast působnosti, Kontakt...) */
.page-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.page-header-sub {
    font-size: 1.05rem;
    max-width: 34em;
    margin: 0 auto;
    opacity: 0.95;
}

/* Textové podstránky (ceník poznámky, GDPR, cookies) */
.content-box h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem;
}

.content-box h2:first-child {
    margin-top: 0;
}

.cookie-card {
    background: var(--bg-light);
    border: 1px solid var(--accent-soft);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    margin: 1.5rem 0;
}

.cookie-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.cookie-card-top h2 {
    margin: 0;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
}

.tag-on {
    background: #e3f3ee;
    color: #1f7a5c;
}

.tag-opt {
    background: var(--accent-soft);
    color: #8a6d1a;
}

/* Kontaktní formulář */
.formcard {
    max-width: 900px;
    margin: 3rem auto 0;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow);
    border: 1px solid var(--accent-soft);
}

.formcard-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form .form-row .field {
    flex: 1;
}

.field {
    margin-bottom: 1.3rem;
    display: flex;
    flex-direction: column;
}

.field[hidden] {
    display: none;
}

.field label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.field .req {
    color: #d64545;
}

.field .opt {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #e2ece9;
    border-radius: 10px;
    font: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field .msg {
    display: none;
    color: #d64545;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.field.err input,
.field.err textarea {
    border-color: #d64545;
}

.field.err .msg {
    display: block;
}

.form-error-top {
    display: none;
    background: #fdeaea;
    color: #b23838;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.3rem;
    font-size: 0.95rem;
}

.form-error-top.show {
    display: block;
}

.form-foot {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.contact-form button[type="submit"] {
    display: block;
    width: 100%;
    cursor: pointer;
    font: inherit;
}

.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

.form-success .ic {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-success h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Cookie lišta */
.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: var(--white);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.12);
    padding: 1.2rem;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-bar.hidden {
    transform: translateY(120%);
    pointer-events: none;
}

.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-txt p {
    margin: 0;
}

.cookie-txt p:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.cookie-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.2rem !important;
}

.cookie-sub a {
    color: var(--primary-color);
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-soft {
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
    font-family: inherit;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: var(--white);
}

.btn-cookie-accept:hover {
    background: var(--gradient-start);
    border-color: var(--gradient-start);
}

.btn-cookie-soft {
    background: transparent;
    color: var(--primary-color);
}

.btn-cookie-soft:hover {
    background: var(--bg-light);
}

/* Patička — copyright vlevo, právní odkazy vpravo (na úzkých šířkách pod sebe) */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    text-align: left;
}

.footer-copy p,
.footer-legal {
    margin: 0;
}

.footer-legal {
    font-size: 0.85rem;
    text-align: right;
}

.footer-legal a {
    color: inherit;
    opacity: 0.85;
    text-decoration: none;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-legal span {
    opacity: 0.5;
    margin: 0 0.4rem;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        text-align: center;
    }

    .page-header {
        padding: 2.5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .formcard {
        padding: 1.8rem 1.3rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

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

    .cookie-actions {
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-soft {
        flex: 1;
        text-align: center;
    }
}

/* Dvě cesty ke mně — dvě karty vedle sebe (services-grid je už 2sloupcový) */
.two-paths-grid {
    max-width: 800px;
}

/* Odrážkový seznam v proudovém textu (content-box) */
.content-box ul {
    margin: 0 0 1.5rem 1.3rem;
}

.content-box li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Zvýrazněná úvodní věta v textu podstránky */
.lead-line {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Zvýrazněný rámeček ("Kdy ji zařazuji" apod.) */
.info-callout {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
}

.info-callout p {
    margin-bottom: 0;
}

/* "Kdo ke mně chodí" — seznam s fajfkami */
.who-list {
    list-style: none;
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.who-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.who-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* "Pro koho jsem tu" — persony na stránce O mně */
.persona-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.persona-item {
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: left;
}

.persona-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.persona-item p {
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.persona-helps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pill-link {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.pill-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Přehled služeb (/sluzby) — klikatelné karty technik */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Související techniky na konci podstránky — vždy jen 2 kartičky, užší grid */
.related-techniques-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
}

.technique-card {
    display: block;
    background: var(--white);
    border-radius: 16px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--accent-soft);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.technique-card h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.technique-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Ceník — doplňkové karty (stálí klienti, dárkové poukazy) */
.pricing-notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.highlight-card {
    background: var(--bg-light);
    border: 1px solid var(--accent-soft);
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
}

.highlight-card h2 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
}

.highlight-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Podpisový blok na stránce O mně */
.about-signature {
    font-weight: 600;
    color: var(--text-dark);
    border-top: 1px solid var(--accent-soft);
    padding-top: 1.2rem;
    line-height: 1.6;
}

.about-signature a {
    color: var(--primary-color);
    text-decoration: none;
}

.about-signature a:hover {
    text-decoration: underline;
}

@media (max-width: 968px) {
    .techniques-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .pricing-notes {
        grid-template-columns: 1fr;
    }

    .persona-item {
        padding: 1.4rem 1.5rem;
    }
}
