/* Exclusive Floors – front-end (child theme / plugin safe) */

:root {
    --ef-cta-bg: #1a1a1a;
    --ef-cta-accent: #c8a96e;
    --ef-cta-text: #ffffff;
    --ef-cta-height: 64px;
}

/* Skip link (přístupnost) */
.ef-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 999999;
    background: var(--ef-cta-accent);
    color: #000;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
}

.ef-skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    overflow: visible;
}

/* Sticky CTA lišta */
.ef-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99990;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    min-height: var(--ef-cta-height);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
    font-family: "Open Sans", Arial, sans-serif;
}

.ef-sticky-cta__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 10px;
    text-decoration: none !important;
    color: var(--ef-cta-text) !important;
    background: var(--ef-cta-bg);
    border-top: 3px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
    line-height: 1.25;
}

.ef-sticky-cta__btn:hover,
.ef-sticky-cta__btn:focus {
    background: #2d2d2d;
    border-top-color: var(--ef-cta-accent);
}

.ef-sticky-cta__btn--phone {
    background: #8b6914;
}

.ef-sticky-cta__btn--phone:hover,
.ef-sticky-cta__btn--phone:focus {
    background: #a67c1a;
}

.ef-sticky-cta__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
}

.ef-sticky-cta__value {
    font-size: 13px;
    font-weight: 700;
}

/* Prostor dole kvůli liště + Call Now Button */
body {
    padding-bottom: calc(var(--ef-cta-height) + 8px);
}

@media (min-width: 768px) {
    .ef-sticky-cta {
        left: auto;
        right: 20px;
        bottom: 20px;
        width: min(420px, calc(100vw - 40px));
        border-radius: 12px;
        overflow: hidden;
        grid-template-columns: 1fr;
    }

    .ef-sticky-cta__btn {
        flex-direction: row;
        justify-content: space-between;
        padding: 14px 18px;
    }

    body {
        padding-bottom: 0;
    }
}

/* ===== Homepage hero – SEO typografie ===== */
.home .et_pb_section_0 .et_pb_text_0 .et_pb_text_inner {
    padding: 28px 32px 24px !important;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.home .et_pb_section_0 .ef-hero-title,
.home .et_pb_section_0 .et_pb_text_0 h1.ef-hero-title,
.home .et_pb_section_0 .et_pb_text_0 h1 {
    font-family: 'Rubik', 'Open Sans', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    color: #1a1a1a !important;
    text-align: center !important;
    margin: 0 0 0.75rem !important;
}

.home .et_pb_section_0 .ef-hero-subtitle,
.home .et_pb_section_0 .et_pb_text_0 h2.ef-hero-subtitle,
.home .et_pb_section_0 .et_pb_text_0 h2 {
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(1.0625rem, 1.8vw, 1.3125rem) !important;
    line-height: 1.5 !important;
    color: #333 !important;
    text-align: center !important;
    margin: 0 0 1.25rem !important;
}

.home .et_pb_section_0 .et_pb_blurb .et_pb_module_header,
.home .et_pb_section_0 .et_pb_blurb .et_pb_module_header a,
.home .et_pb_section_0 .et_pb_blurb .et_pb_module_header span {
    font-family: 'Rubik', 'Open Sans', Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
    line-height: 1.35 !important;
    color: #fff !important;
}

.home .et_pb_section_0 .et_pb_blurb .et_pb_blurb_description,
.home .et_pb_section_0 .et_pb_blurb .et_pb_blurb_description p {
    font-size: clamp(0.875rem, 1.2vw, 1rem) !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Sekční nadpisy pod hero */
.home .et_pb_section:not(.et_pb_section_0) .et_pb_text h2 {
    font-family: 'Rubik', 'Open Sans', Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(1.5rem, 2.4vw, 2.125rem) !important;
    line-height: 1.25 !important;
}

/* Hero CTA tlačítka (plugin – ne Divi layout) */
.ef-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 24px 0 8px;
}

.ef-hero-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    font-family: 'Rubik', 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 0;
    border: 3px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    min-width: 180px;
    text-align: center;
}

.ef-hero-cta__btn--primary {
    background: #ffb400;
    color: #2a2a2a !important;
    border-color: #ffb400;
}

.ef-hero-cta__btn--primary:hover,
.ef-hero-cta__btn--primary:focus {
    background: #2a2a2a;
    color: #fff !important;
    border-color: #2a2a2a;
}

.ef-hero-cta__btn--secondary {
    background: #2a2a2a;
    color: #fff !important;
    border-color: #2a2a2a;
}

.ef-hero-cta__btn--secondary:hover,
.ef-hero-cta__btn--secondary:focus {
    background: #ffb400;
    color: #2a2a2a !important;
    border-color: #ffb400;
}

.ef-hero-cta__btn--outline {
    background: transparent;
    color: #2a2a2a !important;
    border-color: #2a2a2a;
}

.ef-hero-cta__btn--outline:hover,
.ef-hero-cta__btn--outline:focus {
    background: #2a2a2a;
    color: #fff !important;
}

/* Silnější Divi tlačítka na homepage */
.home .et_pb_button {
    min-height: 48px;
}

.home .et_pb_button_module_wrapper {
    margin-bottom: 16px !important;
}

@media (max-width: 767px) {
    .ef-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .ef-hero-cta__btn {
        width: 100%;
        min-width: 0;
    }
}

/* Telefonní odkazy v obsahu */
a[href^="tel:"] {
    font-weight: 600;
    white-space: nowrap;
}
