/* =====================================================================
   AYOR DEVELOPMENT — statická verze webu
   Hlavní styl. Mobile-first, breakpointy dle originálu (Bootstrap 4).
   ===================================================================== */

/* ---------- 1. Proměnné ---------- */
:root {
    /* Barvy — ocelová paleta (dle custom.css originálu) */
    --c-steel:          #5E788E;   /* hlavní akcent, odkazy */
    --c-steel-light:    #8CA8C4;   /* světlý konec gradientů */
    --c-steel-mid:      #718DA3;
    --c-steel-dark:     #336184;   /* tmavý konec gradientů */
    --c-flip-overlay:   rgba(64, 88, 103, 0.7);   /* #405867 — overlay flip-boxu */
    --c-kontakt-overlay:rgba(77, 89, 90, 0.9);    /* #4D595A — overlay kontaktu */
    --c-hero-overlay:   rgba(29, 39, 51, 0.49);   /* overlay hero videa */
    --c-feature-overlay:rgba(255, 255, 255, 0.43);/* světlý overlay parallax sekce */

    --c-dark:           #0a0a0a;
    --c-text:           #333333;
    --c-muted:          #8F8F8F;
    --c-white:          #ffffff;

    /* Písma */
    --font-body: 'Open Sans', sans-serif;
    --font-head: 'Work Sans', sans-serif;
    --font-menu: 'Nunito Sans', sans-serif;
    --font-hero: 'Poppins', sans-serif;

    /* Layout */
    --container-max: 1140px;
    --header-pad-x: 85px;
    --ease: 0.3s ease;
}

/* ---------- 2. Reset & základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: var(--c-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--c-steel);
    text-decoration: none;
    transition: color 400ms, background-color 400ms;
}
a:hover, a:focus { color: var(--c-steel-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: -1px;
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 15px;
}

/* ---------- 3. Tlačítka ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--c-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
}
.btn--pill { border-radius: 50px; }
.btn--xs { font-size: 12px; padding: 10px 30px; }
.btn--sm { font-size: 14px; padding: 15px 40px; }

.btn--primary {
    background-image: linear-gradient(224deg, var(--c-steel-mid) 0%, var(--c-steel-dark) 100%);
}
.btn--primary:hover, .btn--primary:focus {
    background-image: linear-gradient(-224deg, var(--c-steel-dark) 0%, var(--c-steel-mid) 100%);
    color: var(--c-white);
}

.btn--outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: var(--c-white);
}
.btn--outline:hover, .btn--outline:focus {
    background-color: var(--c-white);
    color: var(--c-steel-dark);
}

/* sppb-btn-secondary — plná ocelově šedá */
.btn--secondary {
    background-color: #98a7b5;
    color: var(--c-white);
}
.btn--secondary:hover, .btn--secondary:focus {
    background-color: #7a8793;
    color: var(--c-white);
}

/* ---------- 4. Hlavička ---------- */
.site-header {
    position: absolute;   /* transparent-header: leží přes hero */
    top: 0; left: 0;
    width: 100%;
    z-index: 99;
    padding: 40px 0;
    background-color: transparent;
    transition: var(--ease);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--header-pad-x);
}
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { height: 50px; width: auto; }
.logo-mobile { display: none; }

.site-header__nav-wrap {
    display: flex;
    flex-direction: row-reverse;   /* menu vpravo, CTA nalevo od něj */
    align-items: center;
    gap: 40px;
}

/* Stav po odscrollování */
.site-header.is-sticky {
    position: fixed;
    padding: 15px 0;
    background: linear-gradient(90deg, var(--c-steel-light) 0%, var(--c-steel) 100%);
    box-shadow: 0 2px 5px rgba(16, 16, 16, 0.2);
    animation: slideDown 0.4s;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* Podstránky: hlavička je plná (gradient) od začátku; po scrollu se sníží výška */
.site-header--solid {
    position: sticky;
    background: linear-gradient(90deg, var(--c-steel-light) 0%, var(--c-steel) 100%);
    box-shadow: 0 2px 5px rgba(16, 16, 16, 0.2);
    padding: 24px 0;
}
.site-header--solid.is-sticky {
    position: sticky;
    padding: 15px 0;
    animation: none;
}

/* Hlavní navigace */
.main-nav__list {
    list-style: none;
    display: flex;
    margin: 0; padding: 0;
    gap: 40px;
}
.main-nav__list a {
    position: relative;
    display: inline-block;
    font-family: var(--font-menu);
    font-weight: 700;
    font-size: 14px;
    line-height: 35px;
    letter-spacing: 0;
    color: var(--c-white);
}
.main-nav__list a::before {
    content: "";
    position: absolute;
    left: 0; bottom: 3px;
    width: 0; height: 2px;
    background-color: var(--c-white);
    transition: var(--ease);
}
.main-nav__list li:hover a::before,
.main-nav__list li.is-active a::before { width: 22px; }

.header-cta { flex-shrink: 0; }

/* Hamburger */
.nav-toggler {
    display: none;
    background: none;
    border: none;
    color: var(--c-white);
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ---------- 5. Off-canvas mobilní menu ---------- */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: var(--ease);
    z-index: 1000;
}
.offcanvas-overlay.is-open { opacity: 1; visibility: visible; }

.offcanvas {
    position: fixed;
    top: 0; right: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: linear-gradient(160deg, var(--c-steel-light) 0%, var(--c-steel-dark) 100%);
    z-index: 1001;
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}
.offcanvas.is-open { transform: translateX(0); }
.offcanvas__close {
    position: absolute;
    top: 25px; right: 25px;
    background: none; border: none;
    color: var(--c-white);
    font-size: 24px;
    cursor: pointer;
}
.offcanvas__nav ul { list-style: none; margin: 0; padding: 0; }
.offcanvas__nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.offcanvas__nav a {
    display: block;
    padding: 15px 0;
    font-family: var(--font-menu);
    font-weight: 700;
    color: var(--c-white);
}
.offcanvas__nav a:hover { opacity: 0.8; color: var(--c-white); }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
}
.hero__video {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #1d2733 url('../images/nad-malovankou-1.jpg') center/cover no-repeat;
    pointer-events: none;
}
.hero__video iframe {
    position: absolute;
    top: 50%; left: 50%;
    /* pokrytí 16:9 videa přes celou plochu */
    width: 100vw;
    height: 56.25vw;          /* 16:9 */
    min-height: 100%;
    min-width: 177.77vh;      /* 16:9 */
    transform: translate(-50%, -50%);
}
.hero__overlay {
    position: absolute; inset: 0;
    z-index: 2;
    background: var(--c-hero-overlay);
}
.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 15px;
}
.hero__title {
    font-family: var(--font-hero);
    font-weight: 300;
    font-size: 61px;
    line-height: normal;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
.hero__subtitle {
    font-family: var(--font-hero);
    font-weight: 300;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin: 12px 0 0;
}

/* Animovaná myš */
.hero__mouse {
    position: absolute;
    left: 50%;
    bottom: 40px;
    z-index: 3;
    width: 26px;
    height: 44px;
    margin-left: -13px;
    border: 1px solid var(--c-white);
    border-radius: 15px;
}
.hero__mouse-wheel {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 6px;
    margin-left: -2px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    animation: mouseScroll 1.2s ease-in-out infinite;
}
@keyframes mouseScroll {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* ---------- 7. Úvodní sekce ---------- */
.intro {
    padding: 75px 0 65px;
    text-align: center;
    background: var(--c-white);
}
.intro__title {
    font-family: var(--font-head);
    font-weight: 300;
    font-size: 36px;
    line-height: 36px;
    text-transform: none;
    color: var(--c-dark);
    max-width: 55%;
    margin: 0 auto 30px;
}
.intro__text {
    max-width: 60%;
    margin: 0 auto;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    color: #000;
    opacity: 0.7;
}

/* ---------- 8. Vybrané projekty (parallax) ---------- */
.projects-feature {
    position: relative;
    padding: 110px 0 103px;
    background: #6b6f72 url('../images/jtre-concrete.jpg') center/cover no-repeat fixed;
}
.projects-feature__overlay {
    position: absolute; inset: 0;
    background: var(--c-feature-overlay);
}
.projects-feature .container { position: relative; z-index: 2; }
.projects-feature__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 24px;
    padding: 50px 0 20px;
}
.project-teaser { text-align: center; }

/* Flip-box — fade efekt (front → back prolínáním), dle originálu */
.flipbox {
    display: block;
    position: relative;
    height: 290px;
    margin: 3px 3px 15px;
    overflow: hidden;
}
.flipbox__inner {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
.flipbox__face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.flipbox__back {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.flipbox:hover .flipbox__back { opacity: 1; }
.flipbox__back::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(255, 255, 255, 0.75);
}
.flipbox__logo {
    position: relative;
    z-index: 2;
    width: 180px;
    height: auto;
}

.project-teaser__title {
    font-family: var(--font-head);
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    margin: 0 20px 18px;
}
.project-teaser__text { margin: 0 20px 30px; font-family: var(--font-body); font-size: 14px; line-height: 25px; color: #000; }

.projects-feature__cta { text-align: center; margin-top: 8px; }

/* ---------- 9. Kontakt ---------- */
.kontakt {
    position: relative;
    padding: 20px 0 80px;
    background: #4d595a url('../images/ayor-podval.jpg') 50% 50%/cover no-repeat;
    color: var(--c-white);
}
.kontakt__overlay {
    position: absolute; inset: 0;
    background: var(--c-kontakt-overlay);
}
.kontakt .container { position: relative; z-index: 2; }
.kontakt__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}
.kontakt__col {
    font-size: 15px;
    line-height: 27px;
    margin: 60px 0 30px 60px;
}
.kontakt__label { margin: 0 0 4px; }
.kontakt__col p { margin: 0 0 4px; }
.kontakt__col a { color: var(--c-white); }
.kontakt__col a:hover { color: rgba(255, 255, 255, 0.75); }
.kontakt__col--logo {
    padding-top: 100px;
    text-align: right;
    margin: 0;
}
.kontakt__col--logo img {
    max-width: 50%;
    margin-left: auto;
}

/* ---------- 10. Patička ---------- */
.site-footer {
    font-size: 14px;
    color: var(--c-muted);
    background: #272727;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .container { padding-top: 30px; padding-bottom: 30px; }
.site-footer__copy { color: var(--c-muted); font-weight: 700; }

/* ---------- 11. Tlačítko nahoru ---------- */
.scroll-up {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 36px; height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    color: var(--c-white);
    background: #333;
    border-radius: 3px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--ease);
}
.scroll-up.is-visible { opacity: 1; visibility: visible; }
.scroll-up:hover, .scroll-up:focus { color: var(--c-white); background: #444; }

/* ---------- 12. Scroll-reveal animace ---------- */
[data-anim] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}
[data-anim="fadeInUp"]    { transform: translateY(40px); }
[data-anim="fadeInLeft"]  { transform: translateX(-40px); }
[data-anim="fadeInRight"] { transform: translateX(40px); }
[data-anim].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* =====================================================================
   PODSTRÁNKY — hlavička stránky, mřížka projektů, detail, galerie
   ===================================================================== */

/* Hlavička podstránky (Projekty, detail) */
.page-hero {
    position: relative;
    padding: 120px 0 140px;
    color: var(--c-white);
    text-align: center;
}
/* Projekty: betonové pozadí */
.page-hero--plain {
    background: #6b6f72 url('../images/jtre-concrete.jpg') center/cover no-repeat;
}
/* Detail projektu: fotka projektu (inline bg) + ocelový gradient overlay */
.page-hero--project {
    padding: 190px 0;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.page-hero__overlay {
    position: absolute; inset: 0;
    background: rgba(40, 45, 50, 0.45);
}
.page-hero--plain .page-hero__overlay { background: rgba(70, 80, 90, 0.2); }
.page-hero--project .page-hero__overlay {
    background: linear-gradient(45deg, rgba(140, 169, 196, 0.8) 0%, rgba(94, 120, 142, 0.8) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title {
    font-family: var(--font-head);
    font-size: 50px;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.page-hero__subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    margin: 0;
    letter-spacing: 1px;
}

/* Mřížka projektů */
.projects {
    padding: 50px 0;
    background: var(--c-white);
}
.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.project-card {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
}
.project-card__img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.project-card:hover .project-card__img { transform: scale(1.04); }
.project-card__overlay {
    position: absolute; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(64, 88, 103, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__title {
    color: var(--c-white);
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    padding: 0 20px;
    margin: 0;
}
/* Připravovaný projekt — světlá karta, titulek stále viditelný */
.project-card--soon .project-card__overlay {
    opacity: 1;
    background: transparent;
}
.project-card--soon .project-card__title { color: var(--c-white); }

/* ---- Detail projektu ---- */
.project-detail { padding: 100px 0 30px; background: var(--c-white); }
.project-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.project-detail__brand {
    font-family: var(--font-head);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--c-dark);
    margin: 0 0 15px;
}
.project-detail__kicker {
    font-family: var(--font-head);
    font-size: 36px;
    line-height: 48px;
    font-weight: 300;
    color: var(--c-dark);
    margin: 0 0 30px;
}
.project-detail__text { color: #8F8F8F; font-size: 14px; line-height: 25px; }
.project-detail__text p { margin: 0 0 14px; }
.project-detail__text a { color: var(--c-steel); }
.project-detail__text a:hover { color: var(--c-steel-dark); }
.project-detail__image { position: relative; overflow: hidden; cursor: pointer; }
.project-detail__image img { width: 100%; height: auto; display: block; position: relative; z-index: 0; }
.project-detail__image::after {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: rgba(125, 125, 125, 0.7); /* hover overlay dle page-builderu */
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-detail__image::before {
    content: "+";
    position: absolute; top: 0; left: 0;
    z-index: 2;
    width: 66px; height: 66px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body);
    font-size: 40px; font-weight: 300; line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-detail__image:hover::after,
.project-detail__image:hover::before { opacity: 1; }

/* Galerie (mřížka náhledů + lightbox) */
.gallery { padding: 30px 0 100px; background: var(--c-white); }
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery__item {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.gallery__item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery__item:hover::after { opacity: 1; }

/* Video sekce */
.project-video { padding: 0 0 60px; background: var(--c-white); }
.project-video__frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.project-video__frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox__close {
    position: absolute;
    top: 20px; right: 30px;
    background: none; border: none;
    color: #fff; font-size: 40px;
    cursor: pointer;
    line-height: 1;
}
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: #fff; font-size: 44px;
    cursor: pointer;
    padding: 10px 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

@media (max-width: 991.98px) {
    .page-hero { padding: 90px 0 100px; }
    .project-detail__grid { grid-template-columns: 1fr; gap: 24px; }
    .gallery__grid { gap: 15px; }
    /* tablet/mobil: úvodní (první) obrázek detailu skrýt, zobrazit jen text + galerii */
    .project-detail:first-of-type .project-detail__image { display: none; }
}
@media (max-width: 767.98px) {
    .page-hero__title { font-size: 34px; }
    .page-hero__subtitle { font-size: 16px; }
    .projects__grid { grid-template-columns: 1fr; gap: 16px; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .project-detail__brand { font-size: 14px; }
    .project-detail__kicker { font-size: 26px; line-height: 32px; }
}

/* =====================================================================
   13. Responzivita
   ===================================================================== */

/* Tablet a méně — přepnutí na hamburger (dle originálu < 992px) */
@media (max-width: 991.98px) {
    :root { --header-pad-x: 30px; }

    .site-header { padding: 25px 0; }
    .main-nav { display: none; }
    .header-cta { display: none; }
    .nav-toggler { display: inline-block; }
    .site-header__nav-wrap { gap: 0; }

    .logo-desktop { display: none; }
    .logo-mobile { display: block; }

    .intro__title { max-width: 75%; }
    .intro__text  { max-width: 75%; }

    .kontakt__col { margin-left: 0; margin-top: 50px; margin-bottom: 20px; }
    .kontakt__col--logo { padding-top: 50px; }
}

/* Mobil */
@media (max-width: 767.98px) {
    .hero { height: 100vh; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 16px; }

    .intro { padding: 50px 0 40px; }
    .intro__title { font-size: 26px; line-height: 30px; max-width: 100%; margin-bottom: 20px; }
    .intro__text { max-width: 100%; }

    .projects-feature { padding: 60px 0; }
    .projects-feature__grid { grid-template-columns: 1fr; padding: 20px 0; }
    /* na mobilu parallax vypnout (výkon + jump na iOS) */
    .projects-feature { background-attachment: scroll; }

    .kontakt__grid { grid-template-columns: 1fr; }
    .kontakt__col { margin: 30px 0 10px; text-align: center; }
    .kontakt__col--logo { display: none; }

    .scroll-up { bottom: 20px; right: 20px; }
}

/* ---------- 12. Kontaktní formulář ---------- */
.kontakt__form {
    position: relative;
    max-width: 860px;
    margin: 40px 0 0 60px;
}
.contact-form__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.contact-form__field { margin-bottom: 18px; }
.contact-form__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}
.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 11px 14px;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--c-steel-light);
    background: rgba(255, 255, 255, 0.14);
}
.contact-form__field textarea { resize: vertical; min-height: 120px; }
.contact-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 20px;
    margin: 4px 0 18px;
    cursor: pointer;
}
.contact-form__consent input { margin-top: 3px; }
.contact-form__consent a { color: var(--c-white); text-decoration: underline; }
.contact-form__consent a:hover { color: rgba(255, 255, 255, 0.75); }
.form__hp { position: absolute; left: -9999px; top: -9999px; }
.form__status {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
}
.form__status--ok { background: rgba(72, 128, 90, 0.85); color: #fff; }
.form__status--err { background: rgba(150, 55, 55, 0.85); color: #fff; }
.contact-form__recaptcha-note {
    margin: 14px 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}
.contact-form__recaptcha-note a { color: rgba(255, 255, 255, 0.7); }
.grecaptcha-badge { visibility: hidden; }

/* ---------- 13. Patička — odkazy ---------- */
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}
.site-footer__links a {
    color: var(--c-muted);
    margin-left: 24px;
    text-decoration: none;
}
.site-footer__links a:first-child { margin-left: 0; }
.site-footer__links a:hover { color: var(--c-white); text-decoration: underline; }

/* ---------- 14. Textová stránka (ochrana osobních údajů, 404) ---------- */
.text-page { padding: 60px 0 80px; }
.text-page .container { max-width: 860px; }
.text-page h2 {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -1px;
    margin: 40px 0 14px;
    color: var(--c-dark);
}
.text-page p, .text-page li { font-size: 15px; line-height: 26px; color: var(--c-text); }
.text-page ul { padding-left: 22px; }
.text-page a { color: var(--c-steel); }

@media (max-width: 991.98px) {
    .kontakt__form { margin-left: 0; }
}
@media (max-width: 767.98px) {
    .contact-form__row { grid-template-columns: 1fr; gap: 0; }
    .kontakt__form { margin-top: 20px; }
}
