:root {
    --bg: #fcfaf7;
    --bg-soft: #f7f1e8;
    --white: #ffffff;
    --text: #3d3128;
    --text-light: #6f5d4f;
    --gold: #c9a66b;
    --gold-dark: #ab8448;
    --brown: #7b5e45;
    --line: #eadfce;
    --shadow: 0 12px 35px rgba(91, 66, 43, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.section {
    padding: 90px 0;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold-dark);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1, h2, h3, .brand {
    font-family: Georgia, "Times New Roman", serif;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05;
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text);
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

p {
    color: var(--text-light);
    margin-bottom: 16px;
}

strong {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    box-shadow: 0 10px 25px rgba(171, 132, 72, 0.28);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(171, 132, 72, 0.34);
}

.btn-light {
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.btn-light:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn.full {
    width: 100%;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(252, 250, 247, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 166, 107, 0.15);
}

.nav-inner {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-size: 1.7rem;
    color: var(--brown);
    font-weight: 700;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold-dark);
}

.nav-button {
    padding: 12px 20px;
    background: var(--text);
    color: #fff !important;
    border-radius: 999px;
}

.nav-button:hover {
    background: var(--gold-dark);
}

.burger {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    margin: 5px auto;
    transition: 0.25s ease;
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background:
        linear-gradient(rgba(71, 52, 37, 0.45), rgba(71, 52, 37, 0.45)),
        url('/Fig/Kosmeticka.webp') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(77, 53, 33, 0.15), rgba(201, 166, 107, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    text-align: center;
    color: #fff;
}

.hero-logo-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 26px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-subtitle {
    color: #f7e9d1;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    color: #fff;
    margin-bottom: 18px;
}

.hero-text {
    width: min(700px, 100%);
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-section {
    background: linear-gradient(to bottom, #fff, var(--bg));
}

.about-text p {
    font-size: 1.04rem;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icons a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.03);
}

.social-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.about-image-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 166, 107, 0.14);
}

.about-image-card img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 8px);
    object-fit: cover;
    min-height: 500px;
    max-height: 650px;
}

.services-preview {
    background: var(--bg-soft);
}

.center-heading {
    text-align: center;
    width: min(760px, 100%);
    margin: 0 auto 50px;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 166, 107, 0.12);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4ead8, #e9d2a9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.services-preview-button {
    text-align: center;
    margin-top: 36px;
}

.place-section {
    background: #fff;
}

.gallery-box {
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 166, 107, 0.12);
}

.gallery-main {
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.thumb {
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.thumb.active {
    border-color: var(--gold);
}

.thumb img {
    width: 100%;
    height: 95px;
    object-fit: cover;
}

.place-info-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.place-info-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    background: var(--bg-soft);
    border-radius: 14px;
    color: var(--text);
    border: 1px solid rgba(201, 166, 107, 0.12);
}

.place-info-list svg {
    color: var(--gold-dark);
    flex-shrink: 0;
}

.contact-section {
    background:
        linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.contact-card,
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 166, 107, 0.12);
}

.contact-items {
    display: grid;
    gap: 14px;
    margin: 24px 0 28px;
}

.contact-items a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--bg-soft);
    transition: 0.2s ease;
}

.contact-items a:hover {
    background: #f3e9da;
}

.contact-items svg {
    color: var(--gold-dark);
    flex-shrink: 0;
}

.opening-box {
    margin-top: 10px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbf5eb, #f2e2c4);
}

.form-card h3 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 15px 16px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.14);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.map-section iframe {
    display: block;
}

.footer {
    background: #2f231b;
    color: rgba(255, 255, 255, 0.84);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: 30px;
    padding-bottom: 35px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 18px;
}

.footer a {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 10px;
}

.footer a:hover {
    color: #f5dbb0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 18px 20px 24px;
}

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

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

    .about-image-card img {
        min-height: auto;
        max-height: none;
    }

    .gallery-main img {
        height: 320px;
    }
}

@media (max-width: 820px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(252, 250, 247, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(201, 166, 107, 0.14);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

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

    .hero {
        min-height: auto;
        padding: 90px 20px;
    }

    .section {
        padding: 70px 0;
    }

    .contact-card,
    .form-card,
    .service-card,
    .about-image-card,
    .gallery-box {
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .container,
    .nav-inner {
        width: min(var(--container), calc(100% - 24px));
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-logo-wrap {
        width: 120px;
        height: 120px;
    }

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

    .gallery-main img {
        height: 240px;
    }

    .thumb img {
        height: 72px;
    }

    .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ===============================
   SEO / ARTICLE PAGE IMPROVEMENT
================================ */

.section.about-section h1 {
    max-width: 900px;
}

.section.about-section p {
    max-width: 800px;
    font-size: 1.05rem;
}

.section.about-section h2 {
    margin-top: 40px;
    max-width: 800px;
}

.section.about-section {
    padding-top: 120px;
}

/* lepší čitelnost textu */
.section.about-section p + p {
    margin-top: 10px;
}