:root {
    /* colors */
    --c-beige: #9d8b7f;
    --c-beige-light: #efe6df;
    --c-white: #ffffff;
    --c-blue: #002e5e;
    --c-teal: #00a99d;
    --c-pink: #f176a6;
    --c-yellow: #ffcb08;

    /* radius */
    --radius-sm: 20px;
    --radius-md: 28px;
    --radius-lg: 32px;

    /* shadows */
    --shadow-sm: 0 10px 25px rgba(0, 0, 0, .12);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, .15);
    --shadow-lg: 0 28px 55px rgba(0, 0, 0, .25);

    /* spacing */
    --section-padding: 5rem;
}

body {
    scroll-behavior: smooth;
    color: var(--c-dark);
}

.section {
    padding: var(--section-padding) 0;
}

/* =========================
   GLOBAL UTILITIES
   ========================= */
.bg-beige {
    background: var(--c-beige);
}

.bg-teal {
    background: var(--c-teal);
}

.bg-pink {
    background: var(--c-pink);
}

.bg-blue {
    background: var(--c-blue);
}

.bg-yellow {
    background: var(--c-yellow);
}

/* =========================
   CARDS (shared)
   ========================= */
.card-soft {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform .3s ease, box-shadow .3s ease;
}

.card-soft:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* =========================
   IMAGES
   ========================= */
.img-rounded {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* =========================
   ICON BADGES
   ========================= */
.icon-badge {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

/* =========================
   SECTIONS
   ========================= */

/* HERO */
/* HERO LAYOUT – LEFT */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* background */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* content */
.hero-section .container {
    position: relative;
    z-index: 1;
}

/* row vycentrovaný vertikálně */
.hero-row {
    min-height: 100vh;
    align-items: center;
}

/* HERO QUOTE CARD */
.hero-quote {
    background: rgba(255, 255, 255, 0.316);
    border-radius: 36px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
    max-width: 560px;
    padding: 3rem 3.5rem;
    text-align: left; /* ⬅️ důležité */
}

/* HAND-WRITTEN TEXT */
@font-face {
    font-family: "Biro Script CZ Full";
    src: url("/assets/fonts/biro_script_cz_full.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.hero-text {
    font-family: "Biro Script CZ Full", serif;
}

@font-face {
    font-family: "Biro Script CZ Full V2";
    src: url("/assets/fonts/biro_script_cz_full_v2.woff2?v=2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.hero-text {
    font-family: "Biro Script CZ Full V2", serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.5;
    color: #e4e4e4;
}

h1, h2, h3, h4, h5, h5, h6 {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    letter-spacing: 0.10em;
    font-style: normal;
}

p {
    font-family: "Urbanist", sans-serif;
    letter-spacing: 0.05em;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.text-white {
    color: #fff
}


.about-section {
    background: var(--c-beige);
    position: relative;
    overflow: hidden;
}

.about-photo-wrap {
    position: relative;
    z-index: 2; /* fotka NAD kruhem */
    display: inline-block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-photo-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.about-bg-circle {
    position: absolute;
    width: 1400px;
    height: 1400px;
    border-radius: 50%;
    right: -700px;
    bottom: -1100px;
    background: var(--c-beige-light);
    z-index: 0; /* kruh POD obsahem */
}

.philosophy-section {
    background: var(--c-white);
    position: relative;
    overflow: hidden;
    padding-bottom: 7rem;
}

.novinky-section {
    background: #9c8170b5;
    overflow: hidden;
    padding-bottom: 8rem;
}

.reference-section {
    background: var(--c-beige);
    overflow: hidden;
    padding-bottom: 8rem;
}

/* =========================
   FOOTER
   ========================= */
.footer-section {
    background: var(--c-white);
}

.footer-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform .3s ease, background .3s ease;
}

.footer-social:hover {
    transform: translateY(-4px);
    background: #333;
}

/* Blog Ikony */


.news-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.news-image {
    position: relative;
}

.news-image > img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}


/* =========================
   STABILIZACE KOMPONENT (STEP 1.5)
   ========================= */

/* ROZCESTNÍK SLUŽEB – OPRAVA (VRÁCENO NA STABILNÍ VERZI) */
#sluzby {
    padding-top: 6rem; /* odstup od hero */
}

.services-wrapper {
    width: 420px;
    height: 420px;
    position: relative;
}

.services-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: #d9c9bf;
    border-radius: 24px;
    z-index: 1;
}

.service-item {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: var(--radius-lg);
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 2;
    transition: transform .35s ease, box-shadow .35s ease;
}

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

.service-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.service-top-left {
    top: 0;
    left: 0;
}

.service-top-right {
    top: 0;
    right: 0;
}

.service-bottom-left {
    bottom: 0;
    left: 0;
}

.service-bottom-right {
    bottom: 0;
    right: 0;
}

@media (max-width: 576px) {
    .services-wrapper {
        width: 300px;
        height: 300px;
    }

    .service-item {
        width: 120px;
        height: 120px;
        font-size: .85rem;
    }

    .services-center {
        width: 130px;
        height: 130px;
    }
}


/* HEADER – PILLS */
.header-pills {
    gap: 0.75rem;
    /*margin-bottom:-0.5rem; !* přilepení ke spodní hraně headeru *!*/
}

.header-pill {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    min-width: 220px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.header-pill:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    filter: saturate(1.1);
}


/* DIVIDERY */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 0;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Moje filosofie */

.philosophy-text {
    font-family: "Sofia Sans Extra Condensed", sans-serif;
    font-size: 1.2rem;
}

/* NOVINKY */
.news-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .3s ease, box-shadow .3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
}

.news-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.news-body {
    padding: 2rem;
    text-align: center;
}

/* BLOG */
.blog-image-wrap {
    position: relative;
    display: inline-block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.blog-image-wrap img {
    width: 100%;
    max-width: 420px;
    height: 280px;
    object-fit: cover;
}

.blog-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

/* REFERENCE */
.reference-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem 2.5rem;
    box-shadow: var(--shadow-md);
}

.reference-photo {
    position: relative;
    margin-bottom: 1.5rem;
}

.reference-photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
}

/*.reference-icon{*/
/*    position:absolute;*/
/*    top:-8px;*/
/*    right:calc(50% - 70px);*/
/*    transform:translateX(50%);*/
/*    width:64px;*/
/*    height:64px;*/
/*    border-radius:var(--radius-sm);*/
/*    display:flex;*/
/*    align-items:center;*/
/*    justify-content:center;*/
/*    color:#fff;*/
/*    font-size:2rem;*/
/*}*/
/*.reference-name{*/
/*    font-family: "Sofia Sans Extra Condensed", sans-serif;*/
/*    text-align:center;*/
/*    margin-top:1rem;*/
/*    font-weight:500;*/
/*}*/


/* =========================
   ANIMACE (STEP 2 – JEMNÉ)
   ========================= */

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

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-left {
    transform: translateX(-32px);
}

.reveal-right {
    transform: translateX(32px);
}


/* =========================
   FINÁLNÍ DOLADĚNÍ (STEP 3)
   ========================= */

/* TYPOGRAFIE */
/* sjednocený nadpis sekcí */
.section-title,
section h2 {
    font-size: clamp(2rem, 2.5vw, 3rem); /* odpovídá O mně & Filosofie */
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

/* menší nadpisy */
h3, h4 {
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
}

/* SPACING SEKCE */
.section {
    padding: 10rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

/* HEADER OFFSET (fixed header) */
body {
    padding-top: 72px;
}

/* HERO MOBILE */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-quote {
        padding: 2rem !important;
    }
}

/* SLUŽBY – MOBIL */
@media (max-width: 576px) {
    .services-wrapper {
        width: 300px;
        height: 300px;
    }

    .service-item {
        width: 120px;
        height: 120px;
        font-size: .85rem;
    }
}

/* FOOTER MOBILE */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }

    footer .align-items-lg-end {
        align-items: center !important;
    }
}

.news-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.news-image {
    position: relative;
}

.news-image > img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* IKONA */
.news-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 82px;
    height: 82px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.news-icon img {
    width: 110px;
    height: 110px;
}

/* hover efekt */
.news-card:hover .news-icon {
    transform: translateY(-4px) scale(1.05);
    transition: 0.25s ease;
}

.reference-icon {
    position: absolute;
    top: -8px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.reference-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

/* OFFCANVAS BASE */
.cust-offcanvas {
    width: min(420px, 92vw);
    border-left: 0;
    border-radius: 28px 0 0 28px;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(255, 214, 102, 0.25), transparent 34%),
    radial-gradient(circle at bottom left, rgba(75, 191, 176, 0.18), transparent 34%),
    #fff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.16);
}

.cust-offcanvas-header {
    align-items: flex-start;
    padding: 28px 28px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cust-offcanvas-title {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: #202020;
    margin: 0;
}

.cust-offcanvas-subtitle {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.55);
    margin-top: 8px;
}

.cust-btn-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 1;
    padding: 12px;
}

.cust-btn-close:hover {
    background-color: rgba(0, 0, 0, 0.09);
}

.cust-offcanvas-body {
    padding: 22px 24px 28px;
}

/* SEARCH */
.cust-mobile-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.cust-mobile-search svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    color: rgba(0, 0, 0, 0.55);
}

.cust-mobile-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 0.95rem;
}

.cust-mobile-search input::placeholder {
    color: rgba(0, 0, 0, 0.42);
}

/* MENU ITEMS */
.cust-menu-list {
    gap: 12px;
}

.cust-menu-list li {
    list-style: none;
}

.cust-menu-item {
    --item-color: #202020;

    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 16px;
    min-height: 78px;
    color: #202020;
    text-decoration: none;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.065);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.055);
    overflow: hidden;
    transition: transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.cust-menu-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--item-color);
    border-radius: 22px 0 0 22px;
}

.cust-menu-item::after {
    content: "";
    position: absolute;
    right: -36px;
    top: -36px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--item-color) 18%, transparent);
    opacity: 0.7;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.cust-menu-item:hover {
    transform: translateX(-4px);
    color: #202020;
    border-color: color-mix(in srgb, var(--item-color) 34%, transparent);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.10);
    background: #fff;
}

.cust-menu-item:hover::after {
    transform: scale(1.18);
    opacity: 1;
}

.cust-menu-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--item-color) 15%, white);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--item-color) 18%, transparent);
}

.cust-menu-icon img,
.cust-menu-icon svg {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.cust-menu-icon svg {
    fill: none;
    stroke: var(--item-color);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cust-menu-item strong {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.2;
}

.cust-menu-item small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.25;
    color: rgba(0, 0, 0, 0.54);
}

/* COLORS */
.item-yellow {
    --item-color: #f2b632;
}

.item-teal {
    --item-color: #43b8ad;
}

.item-pink {
    --item-color: #ec7fa8;
}

.item-blue {
    --item-color: #4f9fd9;
}

.item-dark {
    --item-color: #222;
}

.item-common {
    --item-color: #9d8b7f;
}

/* FOOTER */
.cust-offcanvas-footer {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cust-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.cust-socials a {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #202020;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.075);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cust-socials a:hover {
    transform: translateY(-2px);
    background: #fff;
}

.cust-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: 100%;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #43b8ad, #4f9fd9);
    box-shadow: 0 16px 32px rgba(67, 184, 173, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cust-menu-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(67, 184, 173, 0.35);
}

/* MOBILE MENU - OFFCANVAS */
@media (max-width: 575.98px) {
    .cust-offcanvas {
        width: 100vw;
        border-radius: 0;
    }

    .cust-offcanvas-header {
        padding: 24px 22px 16px;
    }

    .cust-offcanvas-body {
        padding: 20px 18px 26px;
    }

    .cust-menu-item {
        border-radius: 20px;
        padding: 14px;
    }

    .cust-menu-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 15px;
    }

    .cust-menu-icon img,
    .cust-menu-icon svg {
        width: 25px;
        height: 25px;
    }
}