/* =============================================================
   ZAHRADNICTVÍ OPOČENSKÝ — style.css (nový design 2026)
   ============================================================= */


/* -------------------------------------------------------------
   1. PROMĚNNÉ & RESET
   ------------------------------------------------------------- */
:root {
    --bg:         #142a22;
    --bg-dark:    #0e1e18;
    --bg-card:    #1a3328;
    --green:      #4e8a3f;
    --green-lt:   #6aaa52;
    --accent:     #c4a832;
    --border:     #1e3a2e;
    --text:       #e4e0d2;
    --dim:        #7a8a74;
    --white:      #f5f2ea;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;
    --font-mono:  'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x:      hidden;
}

body {
    margin:          0;
    background:      var(--bg);
    color:           var(--text);
    font-family:     var(--font-sans);
    font-size:       14px;
    line-height:     1.6;
    overflow-x:      hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--green); }


/* -------------------------------------------------------------
   2. TYPOGRAFIE
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color:       var(--text);
    margin:      0;
    line-height: 1.2;
}

a:link, a:visited, a:hover, a:active {
    color:           inherit;
    text-decoration: none;
}

ul { padding: 0; margin: 0; list-style: none; }
li { margin: 0; }

button {
    background: none;
    border:     none;
    color:      inherit;
    font:       inherit;
    cursor:     pointer;
}

img { display: block; max-width: 100%; }

.silenced       { color: var(--dim); opacity: .55; pointer-events: none; }
.silenced a     { pointer-events: none; }

/* Skip-to-main link — vizuálně skrytý, viditelný při focus (Tab) */
.skip-link {
    position:        absolute;
    top:             -100px;
    left:            8px;
    z-index:         1000;
    padding:         12px 18px;
    background:      var(--accent);
    color:           var(--bg);
    font-family:     var(--font-mono);
    font-size:       12px;
    font-weight:     700;
    letter-spacing:  1.5px;
    text-transform:  uppercase;
    text-decoration: none;
    transition:      top .2s;
}
.skip-link:link, .skip-link:visited { color: var(--bg); }
.skip-link:focus    { top: 8px; }
.skip-link:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* Mask-based ikonky — dědí barvu od currentColor (var(--dim) / var(--accent) atd.) */
.icon {
    display:             inline-block;
    width:               20px;
    height:              20px;
    background-color:    currentColor;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size:   contain;
            mask-size:   contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    flex-shrink:         0;
}
.icon--home     { -webkit-mask-image: url(images/icons/home.svg);     mask-image: url(images/icons/home.svg); }
.icon--sluzby   { -webkit-mask-image: url(images/icons/sluzby.svg);   mask-image: url(images/icons/sluzby.svg); }
.icon--prodejna { -webkit-mask-image: url(images/icons/prodejna.svg); mask-image: url(images/icons/prodejna.svg); }
.icon--blog     { -webkit-mask-image: url(images/icons/blog.svg);     mask-image: url(images/icons/blog.svg); }
.icon--kontakt  { -webkit-mask-image: url(images/icons/kontakt.svg);  mask-image: url(images/icons/kontakt.svg); }
.icon--eshop    { -webkit-mask-image: url(images/icons/eshop.svg);    mask-image: url(images/icons/eshop.svg); }

/* Section common bits */
.section-eyebrow {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin:         0 0 12px 0;
}
.section-title {
    font-family: var(--font-serif);
    font-size:   clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color:       var(--text);
    margin:      0 0 1.5rem 0;
    text-wrap:   pretty;
}
.section-meta {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--dim);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}


/* -------------------------------------------------------------
   3. LEVÝ SIDEBAR (desktop only — trigger drawera)
   ------------------------------------------------------------- */
.sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .sidebar {
        position:        fixed;
        top:             0;
        left:            0;
        bottom:          0;
        width:           64px;
        background:      var(--bg-dark);
        border-right:    1px solid var(--border);
        display:         flex;
        flex-direction:  column;
        align-items:     center;
        justify-content: space-between;
        z-index:         110;
        padding:         16px 0;
    }
    .sidebar-logo {
        display:         flex;
        align-items:     center;
        justify-content: center;
        width:           40px;
        height:          40px;
    }
    .sidebar-trigger {
        width:         40px;
        height:        40px;
        border-radius: 8px;
        display:       flex;
        align-items:   center;
        justify-content: center;
        color:         var(--dim);
        transition:    color .2s, background .2s;
    }
    .sidebar-trigger:hover {
        color:      var(--accent);
        background: var(--bg-card);
    }
    .sidebar-active {
        font-family:    var(--font-mono);
        font-size:      8px;
        color:          var(--accent);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        writing-mode:   horizontal-tb;
        text-align:     center;
        padding:        0 4px;
    }

    /* posun obsahu kvůli pevnému sidebaru */
    body { padding-left: 64px; }
    .drawer-sidebar { left: 64px; }
    .drawer-overlay { left: 64px; }
    .top-nav        { left: 64px; }
    .bottom-nav     { left: 64px; }
    #page-wrap.pushed { transform: translateX(280px); }
}


/* -------------------------------------------------------------
   4. DRAWER (Discord-style — ZACHOVÁNO + restyle)
   ------------------------------------------------------------- */
.drawer-overlay {
    position:       fixed;
    inset:          0;
    z-index:        99;
    background:     rgba(0,0,0,0.55);
    opacity:        0;
    pointer-events: none;
    transition:     opacity 0.28s;
}
.drawer-overlay.visible {
    opacity:        1;
    pointer-events: all;
}

.drawer-sidebar {
    position:    fixed;
    left: 0; top: 0; bottom: 0;
    width:       280px;
    z-index:     100;
    display:     flex;
    background:  var(--bg-dark);
    border-right: 1px solid var(--border);
    transform:   translateX(-280px);
    transition:  transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.drawer-sidebar.open {
    transform: translateX(0);
}

.drawer-strip {
    width:          56px;
    display:        flex;
    flex-direction: column;
    align-items:    center;
    padding:        12px 0;
    gap:            8px;
    flex-shrink:    0;
    background:     var(--bg);
    border-right:   1px solid var(--border);
}

.drawer-sep {
    width:       28px;
    height:      1px;
    background:  var(--border);
    margin:      4px 0;
}

.drawer-icon {
    width:           40px;
    height:          40px;
    border-radius:   10px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    cursor:          pointer;
    color:           var(--dim);
    background:      transparent;
    transition:      color .2s, background .2s, border-radius .2s;
}
.drawer-icon:hover  { color: var(--text); background: var(--bg-card); }
.drawer-icon.silenced {
    color:          var(--border);
    pointer-events: none;
    opacity:        .5;
}
.drawer-icon.active {
    color:      var(--accent);
    background: var(--bg-card);
}

.channel-panel {
    flex:           1;
    background:     var(--bg-dark);
    display:        flex;
    flex-direction: column;
    overflow:       hidden;
}

.panel-section        { display: none; flex-direction: column; flex: 1; overflow: hidden; }
.panel-section.active { display: flex; }

.channel-header {
    padding:       18px 16px 14px;
    border-bottom: 1px solid var(--border);
    flex-shrink:   0;
}
.channel-header-name {
    font-family: var(--font-serif);
    font-size:   1.4rem;
    font-weight: 700;
    color:       var(--text);
}
.channel-header-name a { color: inherit; }
.channel-header-sub  {
    font-family:    var(--font-mono);
    font-size:      .7rem;
    color:          var(--dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top:     4px;
}

.panel-body {
    flex:           1;
    overflow-y:     auto;
    padding:        8px 0 16px;
}
.panel-body::-webkit-scrollbar       { width: 4px; }
.panel-body::-webkit-scrollbar-thumb { background: var(--border); }

.cat-row {
    display:     flex;
    align-items: center;
    gap:         6px;
    padding:     12px 14px 6px;
    cursor:      pointer;
    user-select: none;
}
.cat-label {
    font-family:    var(--font-mono);
    font-size:      .68rem;
    font-weight:    500;
    color:          var(--dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    flex:           1;
}
.cat-arrow                  { font-size: 8px; color: var(--dim); transition: transform .2s; }
.cat-row.collapsed .cat-arrow { transform: rotate(-90deg); }
.cat-items.hidden           { display: none; }

.channel-item {
    display:         flex;
    align-items:     center;
    gap:             8px;
    padding:         7px 14px;
    margin:          1px 0;
    cursor:          pointer;
    font-size:       .88rem;
    text-decoration: none;
    color:           var(--dim);
    transition:      background .15s, color .15s;
}
.channel-item:hover,
.channel-item.active {
    background: var(--bg-card);
    color:      var(--text);
}
.ch-hash { font-size: .9rem; opacity: .6; flex-shrink: 0; }


/* -------------------------------------------------------------
   5. TOP NAV (desktop only)
   ------------------------------------------------------------- */
.top-nav {
    display: none;
}

@media (min-width: 1024px) {
    .top-nav {
        position:        sticky;
        top:             0;
        z-index:         90;
        height:          64px;
        background:      rgba(14, 30, 24, 0.97);
        backdrop-filter: blur(8px);
        border-bottom:   1px solid var(--border);
        display:         flex;
        align-items:     stretch;
    }
    .top-nav-links {
        display: flex;
        flex:    1;
    }
    .top-nav-links a {
        flex:            1;
        display:         flex;
        align-items:     center;
        justify-content: center;
        padding:         0 18px;
        border-right:    1px solid var(--border);
        font-family:     var(--font-mono);
        font-size:       11px;
        letter-spacing:  1.5px;
        text-transform:  uppercase;
        color:           var(--dim);
        white-space:     nowrap;
        transition:      color .2s, background .2s;
        position:        relative;
    }
    .top-nav-links a:hover     { color: var(--text); }
    .top-nav-links a.is-active { color: var(--text); background: var(--bg-card); }
    .top-nav-links a.is-active::after {
        content:    '';
        position:   absolute;
        left: 0; right: 0; bottom: -1px;
        height:     2px;
        background: var(--accent);
    }
    .top-nav-links a.accent    { color: var(--accent); }
    .top-nav-links a.silenced  { color: var(--border); }

    .top-nav-meta {
        padding:       0 24px;
        display:       flex;
        align-items:   center;
        font-family:   var(--font-mono);
        font-size:     10px;
        color:         var(--dim);
        letter-spacing: 1px;
        white-space:   nowrap;
    }
}


/* -------------------------------------------------------------
   6. SPODNÍ NAV (mobile only — floating pill)
   ------------------------------------------------------------- */
.bottom-nav {
    position:          fixed;
    bottom:            calc(16px + env(safe-area-inset-bottom));
    left:              16px;
    z-index:           95;
    display:           flex;
    align-items:       center;
    width:             calc(100vw - 32px);
    height:            48px;
    background:        rgba(14, 30, 24, 0.97);
    backdrop-filter:   blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border:            1px solid var(--border);
    clip-path:         inset(0 83.33% 0 0 round 24px);
    transition:        clip-path .45s cubic-bezier(.4,0,.2,1);
}
.bottom-nav.is-open {
    clip-path: inset(0 0 0 0 round 16px);
}

.bottom-nav-list {
    display:    flex;
    flex:       1;
    padding:    0;
    margin:     0;
    list-style: none;
}

.bottom-nav-item {
    flex:            1;
    display:         flex;
    justify-content: center;
    opacity:         0;
    pointer-events:  none;
    transition:      opacity .15s;
}
.bottom-nav-item--home {
    opacity:        1 !important;
    pointer-events: auto !important;
}
.bottom-nav-item.nav-hidden { display: none; }
.bottom-nav.is-open .bottom-nav-item {
    opacity:        1;
    pointer-events: auto;
    transition:     opacity .2s .28s;
}

.bottom-nav-item a {
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    gap:             2px;
    padding:         6px 0;
    width:           100%;
    color:           var(--dim);
    font-family:     var(--font-mono);
    font-size:       8px;
    letter-spacing:  1px;
    text-transform:  uppercase;
    text-decoration: none;
    transition:      color .2s;
}
.bottom-nav-item a:hover,
.bottom-nav-item a.is-active {
    color: var(--accent);
}

@media (min-width: 1024px) {
    .bottom-nav { display: none; }
}

/* page-wrap nemá horní/dolní mezery — top-nav je sticky, bottom-nav přidá padding */
#page-wrap {
    transition:     transform 0.3s ease;
    padding-bottom: 96px;
}
@media (min-width: 1024px) {
    #page-wrap { padding-bottom: 0; }
}


/* -------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------- */
.hero {
    display:        flex;
    flex-direction: column;
    border-bottom:  1px solid var(--border);
}

.hero-text {
    padding:        40px 20px 36px;
    border-bottom:  1px solid var(--border);
    display:        flex;
    flex-direction: column;
}

.hero-eyebrow {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin:         0 0 20px 0;
}

.hero h1 {
    font-family: var(--font-serif);
    font-weight: 800;
    color:       var(--text);
    line-height: 1.05;
    margin:      0 0 20px 0;
    text-wrap:   pretty;
    font-size:   clamp(2rem, 6vw, 4.25rem);
}
.hero h1 em {
    color:      var(--accent);
    font-style: italic;
}

.hero-desc {
    font-family: var(--font-sans);
    font-size:   14px;
    color:       var(--dim);
    line-height: 1.75;
    margin:      0 0 28px 0;
    max-width:   480px;
}

.hero-btns {
    display:        flex;
    flex-direction: column;
    gap:            10px;
}
.hero-btns a {
    padding:        14px 20px;
    font-family:    var(--font-mono);
    font-size:      11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align:     center;
    border:         1px solid var(--border);
    transition:     opacity .2s, background .2s;
}
.hero-btns a:hover { opacity: .85; }
.btn-primary   { background: var(--green); color: #fff; border-color: var(--green); }
.btn-secondary { color: var(--dim); }

.hero-scroll {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--dim);
    letter-spacing: 1.5px;
    margin:         32px 0 0 0;
    transition:     opacity .3s ease;
}
.hero-scroll span { color: var(--green-lt); }
.hero-scroll.is-hidden {
    opacity:        0;
    pointer-events: none;
}

.hero-img {
    position: relative;
    height:   320px;
    overflow: hidden;
}
.hero-img:focus-visible {
    outline:        3px solid var(--accent);
    outline-offset: -3px;
}

.hero-slide {
    position:            absolute;
    inset:               0;
    background-size:     cover;
    background-position: center;
    opacity:             0;
    transition:          opacity .7s ease;
}
.hero-slide.active { opacity: 1; }

.arrows {
    position:        absolute;
    z-index:         15;
    top:             50%;
    left:            0;
    right:           0;
    transform:       translateY(-50%);
    display:         flex;
    width:           100%;
    justify-content: space-between;
    align-items:     center;
    padding:         0 12px;
    pointer-events:  none;
}
.arrow-left,
.arrow-right { pointer-events: auto; }
.arrows button {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           2.4rem;
    height:          2.4rem;
    background:      rgba(14, 30, 24, .55);
    border:          1px solid rgba(228, 224, 210, .2);
    border-radius:   50%;
    backdrop-filter: blur(4px);
    color:           var(--text);
    transition:      background .2s;
}
.arrows button:hover { background: rgba(14, 30, 24, .9); }
.size-6              { width: 1.3rem; height: 1.3rem; }

.hero-dots {
    position:    absolute;
    top:         12px;
    right:       14px;
    z-index:     16;
    display:     flex;
    gap:         6px;
    padding:     6px 8px;
    background:  rgba(14, 30, 24, .55);
    backdrop-filter: blur(4px);
    border-radius: 999px;
    border:      1px solid rgba(228, 224, 210, .15);
}
.hero-dot {
    width:         8px;
    height:        8px;
    padding:       0;
    border-radius: 50%;
    background:    rgba(228, 224, 210, .35);
    border:        none;
    cursor:        pointer;
    transition:    background .25s, transform .25s;
}
.hero-dot:hover  { background: rgba(228, 224, 210, .65); }
.hero-dot.active {
    background: var(--accent);
    transform:  scale(1.25);
}
.hero-dot:focus-visible {
    outline:        2px solid var(--accent);
    outline-offset: 2px;
}

.hero-overlay {
    position:       absolute;
    bottom:         2.2rem;
    left:           0;
    right:          0;
    background:     linear-gradient(transparent, rgba(10,22,16,.94));
    padding:        48px 24px 20px;
    z-index:        10;
    display:        flex;
    flex-direction: column;
    gap:            6px;
    pointer-events: none;
}
.hero-overlay-tag {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom:  1px solid var(--border);
    padding-bottom: 4px;
    align-self:     flex-start;
}
.hero-overlay-title {
    font-family: var(--font-serif);
    font-size:   1.25rem;
    font-weight: 600;
    color:       var(--text);
    margin:      0;
    line-height: 1.3;
}
.hero-overlay-perex {
    font-size:   .82rem;
    color:       var(--dim);
    line-height: 1.55;
    margin:      0;
}
.hero-overlay-link {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--green-lt);
    letter-spacing: 1.5px;
    margin-top:     4px;
    pointer-events: auto;
}

.hero-aktuality {
    position:    absolute;
    bottom:      0;
    left:        0;
    right:       0;
    height:      2.2rem;
    background:  var(--bg-dark);
    border-top:  1px solid var(--border);
    display:     flex;
    align-items: center;
    gap:         .6rem;
    padding:     0 .9rem;
    font-size:   .78rem;
    z-index:     20;
    overflow:    hidden;
}
.hero-aktuality-label {
    font-family:    var(--font-mono);
    color:          var(--accent);
    font-weight:    500;
    text-transform: uppercase;
    font-size:      9px;
    letter-spacing: 1.8px;
    white-space:    nowrap;
    flex-shrink:    0;
}
.hero-aktuality-sep {
    width:       1px;
    height:      .85rem;
    background:  var(--border);
    flex-shrink: 0;
}
.hero-aktuality-text {
    color:         var(--text);
    white-space:   nowrap;
    overflow:      hidden;
    text-overflow: ellipsis;
    transition:    opacity .35s ease;
    font-family:   var(--font-mono);
    font-size:     11px;
}
.hero-aktuality-text.fading { opacity: 0; }


/* -------------------------------------------------------------
   8. FROST WIDGET (zachovaná funkčnost — restylováno)
   ------------------------------------------------------------- */
.frost-widget {
    background:      var(--bg-dark);
    border-bottom:   1px solid var(--border);
    padding:         13px 20px;
    display:         flex;
    flex-wrap:       wrap;
    gap:             10px 24px;
    align-items:     center;
    font-family:     var(--font-mono);
    font-size:       11px;
    color:           var(--dim);
    transition:      background .25s;
}
/* Stavové varianty — barva levého proužku přes border-left */
.frost-widget--ok      { border-left: 3px solid var(--green-lt); }
.frost-widget--caution { border-left: 3px solid var(--accent); }
.frost-widget--warn    { border-left: 3px solid #e8c48a; }
.frost-widget--danger  { border-left: 3px solid #e8b4ad; }
.frost-widget--error   { border-left: 3px solid var(--border); }

.frost-widget--ok      .frost-widget__status { color: var(--green-lt); }
.frost-widget--caution .frost-widget__status { color: var(--accent); }
.frost-widget--warn    .frost-widget__status { color: #e8c48a; }
.frost-widget--danger  .frost-widget__status { color: #e8b4ad; }

.frost-widget__label {
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-size:      9px;
    white-space:    nowrap;
    flex-shrink:    0;
}
.frost-widget__location {
    color:       var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}
.frost-widget__sep {
    width:       1px;
    height:      14px;
    background:  var(--border);
    flex-shrink: 0;
}
.frost-widget__status {
    color:       var(--text);
    flex:        1;
    min-width:   200px;
}
.frost-widget__temps {
    display:     flex;
    gap:         16px;
    align-items: center;
    flex-shrink: 0;
}
.frost-widget__temp-block {
    display:     flex;
    align-items: baseline;
    gap:         6px;
}
.frost-widget__temp-value {
    font-size:    13px;
    font-weight:  500;
    color:        var(--text);
    line-height:  1;
}
.frost-widget__temp-desc {
    font-size:      9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color:          var(--dim);
}
.frost-widget__temp-divider {
    width:      1px;
    height:     14px;
    background: var(--border);
}
.frost-widget__meta {
    font-size:   10px;
    color:       var(--dim);
    line-height: 1.4;
    text-align:  right;
    flex-shrink: 0;
    max-width:   200px;
    margin-left: auto;
}

.skeleton {
    display:         inline-block;
    background:      linear-gradient(90deg, var(--bg-card) 25%, var(--border) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    border-radius:   2px;
    animation:       skeleton 1.4s ease-in-out infinite;
}
.skeleton--status { width: 240px; height: 0.95rem; }
.skeleton--temp   { width: 55px;  height: 1.1rem;  }
@keyframes skeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* -------------------------------------------------------------
   9. SLUŽBY
   ------------------------------------------------------------- */
.services {
    border-bottom: 1px solid var(--border);
}
.services-header {
    display:       flex;
    align-items:   baseline;
    gap:           14px;
    padding:       18px 20px;
    border-bottom: 1px solid var(--border);
}
.services-header h2 {
    font-family: var(--font-serif);
    font-size:   1.2rem;
    font-weight: 600;
    color:       var(--text);
}
.services-count {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-grid {
    display:               grid;
    grid-template-columns: 1fr;
}

.service-card {
    padding:       24px 20px;
    border-bottom: 1px solid var(--border);
    transition:    background .25s;
    cursor:        pointer;
    position:      relative;
}
.service-card:last-child { border-bottom: none; }
.service-card:hover      { background: var(--bg-card); }

.service-toggle {
    width:           100%;
    display:         flex;
    justify-content: space-between;
    align-items:     flex-start;
    padding:         0;
}
.service-tag {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom:  1px solid var(--border);
    padding-bottom: 4px;
}
.service-plus {
    font-family: var(--font-mono);
    font-size:   18px;
    color:       var(--dim);
    line-height: 1;
    transition:  color .2s;
}
.service-card.is-open .service-plus { color: var(--green-lt); }

.service-title {
    font-family: var(--font-serif);
    font-size:   1.2rem;
    font-weight: 600;
    color:       var(--text);
    margin:      12px 0 8px;
}
.service-desc {
    font-size:   13px;
    color:       var(--dim);
    line-height: 1.65;
    margin:      0;
}
.service-items {
    list-style:    none;
    margin:        14px 0 0;
    padding:       10px 0 0;
    border-top:    1px solid var(--border);
}
.service-item {
    display:       flex;
    align-items:   center;
    gap:           10px;
    padding:       7px 0;
    border-bottom: 1px solid var(--border);
    font-size:     14px;
    color:         #c8c4b6;
    line-height:   1.4;
}
.service-item:last-child { border-bottom: none; }
.service-dot {
    width:         6px;
    height:        6px;
    border-radius: 50%;
    background:    var(--green-lt);
    flex-shrink:   0;
}
.service-item.is-crossed {
    color: #3a4a3a;
    text-decoration: line-through;
}
.service-item.is-crossed .service-dot { background: #2e3e2e; }

.service-divider {
    height:     1px;
    background: var(--border);
    margin-top: 14px;
    transition: background .25s;
}
.service-card:hover .service-divider { background: var(--green); }

.service-more {
    display:        block;
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--dim);
    letter-spacing: 1px;
    margin-top:     10px;
    transition:     color .25s;
}
.service-card:hover .service-more,
.service-card.is-open .service-more { color: var(--green-lt); }


/* -------------------------------------------------------------
   10. CO NABÍZÍME (Offer)
   ------------------------------------------------------------- */
.offer {
    padding:       40px 20px;
    border-bottom: 1px solid var(--border);
}

.offer-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   3px;
    margin-top:            24px;
}

.offer-featured,
.offer-card {
    position:            relative;
    height:              200px;
    background-size:     cover;
    background-position: center;
    background-color:    var(--bg-card);
    border:              1px solid var(--border);
    overflow:            hidden;
    display:             block;
    transition:          transform .35s ease;
}
.offer-featured:hover,
.offer-card:hover { transform: scale(1.01); }

.offer-overlay {
    position:       absolute;
    inset:          0;
    background:     linear-gradient(180deg, rgba(14,30,24,0) 35%, rgba(10,22,16,.92) 100%);
    padding:        20px;
    display:        flex;
    flex-direction: column;
    justify-content: flex-end;
    gap:            6px;
}

.offer-tag {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom:  1px solid var(--border);
    padding-bottom: 4px;
    align-self:     flex-start;
}
.offer-title {
    font-family: var(--font-serif);
    font-size:   1rem;
    font-weight: 600;
    color:       var(--text);
    margin:      0;
    line-height: 1.35;
}
.offer-perex {
    font-size:   13px;
    color:       var(--dim);
    line-height: 1.55;
    margin:      0;
}
.offer-link {
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--green-lt);
    letter-spacing: 1.5px;
    margin-top:     auto;
    align-self:     flex-start;
}

.offer-blog-card {
    background:     var(--bg-card);
    border:         1px solid var(--border);
    padding:        20px 18px;
    display:        flex;
    flex-direction: column;
    gap:            10px;
    min-height:     200px;
}


/* -------------------------------------------------------------
   11. BLOG SECTION (homepage)
   ------------------------------------------------------------- */
.blog-section {
    padding:       40px 20px;
    border-bottom: 1px solid var(--border);
}
.blog-section-header {
    display:       flex;
    align-items:   baseline;
    gap:           14px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.blog-section-header h2 {
    font-family: var(--font-serif);
    font-size:   1.4rem;
    font-weight: 600;
}
.blog-section-all {
    margin-left:    auto;
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--accent);
    letter-spacing: 1.5px;
}

.blog-section-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   24px;
}
.blog-section-card {
    display:        block;
    padding:        0;
    border-bottom:  1px solid var(--border);
    padding-bottom: 24px;
    transition:     opacity .2s;
}
.blog-section-card:hover { opacity: .85; }
.blog-section-card:last-child { border-bottom: none; }

.blog-section-img {
    width:               100%;
    height:              160px;
    background-size:     cover;
    background-position: center;
    background-color:    var(--bg-card);
    border:              1px solid var(--border);
    margin-bottom:       16px;
}
.blog-section-tag {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom:  1px solid var(--border);
    padding-bottom: 4px;
    display:        inline-block;
}
.blog-section-card h3 {
    font-family: var(--font-serif);
    font-size:   1.1rem;
    font-weight: 600;
    color:       var(--text);
    margin:      10px 0 6px;
}
.blog-section-card p {
    font-size:   13px;
    color:       var(--dim);
    line-height: 1.6;
    margin:      0;
}
.blog-section-date {
    font-family: var(--font-mono);
    font-size:   10px;
    color:       var(--dim);
    margin-top:  12px !important;
}


/* -------------------------------------------------------------
   12. KONTAKT (kontakt-info + kontakt-form)
   ------------------------------------------------------------- */
.contact {
    display:        flex;
    flex-direction: column;
    border-bottom:  1px solid var(--border);
}

.contact-info {
    padding:       40px 20px;
    border-bottom: 1px solid var(--border);
}
.contact-form {
    padding: 40px 20px;
}

.contact-title {
    font-family: var(--font-serif);
    font-size:   clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    color:       var(--text);
    margin:      0 0 14px;
}
.contact-lead {
    font-size:   14px;
    color:       var(--dim);
    line-height: 1.75;
    margin:      0 0 28px 0;
}

.contact-details {
    display:        flex;
    flex-direction: column;
    gap:            12px;
    margin:         0 0 28px 0;
    border-top:     1px solid var(--border);
    padding-top:    20px;
}
.contact-row {
    display:     flex;
    gap:         14px;
    align-items: baseline;
}
.contact-row dt {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    min-width:      70px;
    margin:         0;
}
.contact-row dd {
    font-size: 14px;
    color:     var(--text);
    margin:    0;
}
.contact-row dd a:hover { color: var(--accent); }

.contact-sub-eyebrow {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin:         0 0 12px 0;
}

.opening {
    margin-top:  28px;
    border-top:  1px solid var(--border);
    padding-top: 20px;
}
.opening-hours {
    width:           100%;
    border-collapse: collapse;
    font-size:       13px;
}
.opening-hours th,
.opening-hours td {
    padding:    7px 0;
    text-align: left;
}
.opening-hours th {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size:   11px;
    color:       var(--dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.opening-hours td {
    text-align: right;
    color:      var(--text);
}
.opening-hours tr.is-today th,
.opening-hours tr.is-today td {
    color:       var(--accent);
    font-weight: 700;
}

.contact-map {
    margin-top:  28px;
    border-top:  1px solid var(--border);
    padding-top: 20px;
}
.contact-map iframe {
    border:     1px solid var(--border);
    filter:     grayscale(30%);
}

.field-input {
    width:           100%;
    background:      transparent;
    border:          none;
    border-bottom:   1px solid var(--border);
    color:           var(--text);
    font-family:     var(--font-sans);
    font-size:       14px;
    padding:         12px 0;
    outline:         none;
    margin-bottom:   18px;
    transition:      border-color .2s;
}
.field-input::placeholder { color: var(--dim); }
.field-input:focus        { border-bottom-color: var(--green-lt); }
.field-input--textarea {
    resize: none;
    min-height: 120px;
}

.lest_na_blbouny {
    position: absolute;
    top:      auto;
    left:     -999999px;
    width:    1px;
    height:   1px;
    overflow: hidden;
}

.submit_btn {
    width:           100%;
    padding:         15px;
    margin-top:      8px;
    background:      var(--green);
    color:           #fff;
    border:          none;
    font-family:     var(--font-mono);
    font-size:       11px;
    letter-spacing:  2px;
    text-transform:  uppercase;
    cursor:          pointer;
    transition:      opacity .2s;
}
.submit_btn:hover    { opacity: .9; }
.submit_btn:disabled { opacity: .5; cursor: not-allowed; }

.form-msg         { display: none; padding: 12px 16px; margin-top: 14px; font-size: 13px; font-family: var(--font-mono); letter-spacing: 1px; }
.form-msg--ok     { display: block; background: rgba(106, 170, 82, .15); color: var(--green-lt); border-left: 3px solid var(--green-lt); }
.form-msg--err    { display: block; background: rgba(232, 180, 173, .12); color: #e8b4ad; border-left: 3px solid #e8b4ad; }


/* -------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------- */
.site-footer {
    background:  var(--bg-dark);
    border-top:  1px solid var(--border);
}
.footer-grid {
    display:               grid;
    grid-template-columns: 1fr;
    padding:               40px 20px;
    border-bottom:         1px solid var(--border);
}
.footer-col {
    padding:       20px 0;
    border-bottom: 1px solid var(--border);
}
.footer-col:last-child { border-bottom: none; }

.footer-col-title {
    font-family:    var(--font-mono);
    font-size:      9px;
    color:          var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin:         0 0 14px 0;
}
.footer-col a {
    display:     block;
    font-size:   13px;
    color:       var(--dim);
    line-height: 1.5;
    margin-bottom: 7px;
    transition:  color .2s;
}
.footer-col a:hover { color: var(--text); }

.footer-brand {
    display:     flex;
    align-items: center;
    gap:         10px;
    margin-bottom: 14px;
}
.footer-brand span {
    font-family: var(--font-serif);
    font-size:   15px;
    font-weight: 600;
    color:       var(--text);
}
.footer-col--brand p {
    font-size:   13px;
    color:       var(--dim);
    line-height: 1.75;
    max-width:   320px;
    margin:      0;
}

.footer-bottom {
    padding:        14px 20px;
    display:        flex;
    justify-content: space-between;
    flex-wrap:      wrap;
    gap:            8px;
    font-family:    var(--font-mono);
    font-size:      10px;
    color:          var(--border);
    letter-spacing: 1px;
}


/* -------------------------------------------------------------
   14. BLOG (samostatné stránky — blog.php, články)
   ------------------------------------------------------------- */
.blog-index h1 { text-align: center; }

.blog-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap:                   1.5rem;
    padding:               2rem 1rem;
    max-width:             1200px;
    margin:                0 auto;
}
.blog-card {
    border:          1px solid var(--border);
    background:      var(--bg-card);
    display:         flex;
    flex-direction:  column;
    text-decoration: none;
    transition:      transform .25s ease, border-color .25s;
}
.blog-card:hover { transform: translateY(-2px); border-color: var(--green); }

.blog-card picture {
    display:      block;
    width:        100%;
    aspect-ratio: 1 / 1;
    overflow:     hidden;
    border-bottom: 1px solid var(--border);
}
.blog-card picture img {
    width:           100%;
    height:          100%;
    object-fit:      cover;
    object-position: center;
}
.card-text {
    padding:        1rem;
    display:        flex;
    flex-direction: column;
    flex-grow:      1;
}
.card-text h2 {
    margin: 0 0 .5rem 0;
    font-size: 1.15rem;
    font-family: var(--font-serif);
}
.card-text p { margin-bottom: 1rem; color: var(--dim); font-size: .9rem; }

.blog-post { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.post-content img { max-width: 100%; height: auto; display: block; }
.post-content p,
.post-content h2,
.post-content figure,
.post-content ul   { margin-bottom: 1.5rem; }


/* -------------------------------------------------------------
   15. MEDIA QUERIES — TABLET 640px+
   ------------------------------------------------------------- */
@media (min-width: 640px) {
    .hero {
        flex-direction: row;
        min-height:     480px;
    }
    .hero-text {
        flex:           1;
        padding:        48px 32px;
        border-bottom:  none;
        border-right:   1px solid var(--border);
    }
    .hero-img    { flex: 1; height: auto; }
    .hero-btns   { flex-direction: row; }
    .hero-btns a { text-align: left; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-card  { border-right: 1px solid var(--border); }
    .service-card:nth-child(2n) { border-right: none; }

    .offer-grid {
        grid-template-columns: 2fr 1fr;
        grid-template-rows:    repeat(2, 1fr);
    }
    .offer-featured  { grid-row: span 2; height: 100%; min-height: 280px; }
    .offer-blog-card { grid-column: 2; }

    .blog-section-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .blog-section-card {
        padding: 0 16px 24px;
        border-right: 1px solid var(--border);
        border-bottom: none;
    }
    .blog-section-card:first-child { padding-left: 0; }
    .blog-section-card:last-child  { border-right: none; padding-right: 0; }

    .contact { flex-direction: row; }
    .contact-info {
        flex:          1;
        border-bottom: none;
        border-right:  1px solid var(--border);
        padding:       48px 32px;
    }
    .contact-form { flex: 1; padding: 48px 32px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding: 40px 32px;
    }
    .footer-col {
        border-right:  1px solid var(--border);
        border-bottom: none;
        padding:       0 24px;
    }
    .footer-col:first-child { padding-left: 0; }
    .footer-col:nth-child(2n) { border-right: none; }
    .footer-bottom { padding: 14px 32px; }
}


/* -------------------------------------------------------------
   16. MEDIA QUERIES — DESKTOP 1024px+
   ------------------------------------------------------------- */
@media (min-width: 1024px) {
    body { font-size: 15px; }

    .hero-text { padding: 64px 56px; }
    .hero h1   { font-size: clamp(3rem, 5vw, 4.25rem); }
    .hero-desc { font-size: 15px; }
    .hero-img  { flex: 1; }

    .frost-widget    { padding: 15px 56px; gap: 32px; }
    .services-header { padding: 18px 56px; }

    .services-grid     { grid-template-columns: repeat(3, 1fr); }
    .service-card      {
        padding: 32px 36px;
        border-right:  1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
    .service-card:nth-child(3n) { border-right: none; }
    .service-card:nth-child(2n) { border-right: 1px solid var(--border); }
    .service-card:last-child    { border-right: none; border-bottom: none; }
    .service-card:nth-last-child(-n+3) { border-bottom: none; }

    .offer { padding: 64px 56px; }
    .offer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows:    repeat(2, 1fr);
    }
    .offer-featured  { min-height: 340px; grid-row: span 2; }
    .offer-blog-card { grid-column: auto; min-height: 167px; }

    .blog-section { padding: 64px 56px; }
    .blog-section-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
    .blog-section-card { padding: 0 32px 24px; }

    .contact-info { padding: 64px 56px; }
    .contact-form { padding: 64px 56px; }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        padding: 56px 56px;
    }
    .footer-col {
        border-right:  1px solid var(--border);
        padding:       0 0 0 32px;
    }
    .footer-col:first-child   { padding-left: 0; }
    .footer-col:nth-child(2n) { border-right: 1px solid var(--border); }
    .footer-col:last-child    { border-right: none; }
    .footer-bottom { padding: 16px 56px; }
}


/* -------------------------------------------------------------
   17. MEDIA QUERIES — WIDE 1280px+
   ------------------------------------------------------------- */
@media (min-width: 1280px) {
    .hero-text { padding: 80px 64px; }
}


/* -------------------------------------------------------------
   18. ACCESSIBILITY — reduced motion
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
