/* GREON UX 2026-11-07. Scoped to eight reviewed pages; no analytics or form logic. */
body[data-greon-ux] { --gux-green: #33723f; --gux-ink: #26382c; }
body[data-greon-ux] :is(a,button,summary,input,textarea,select):focus-visible {
  outline: 3px solid #a35c09; outline-offset: 4px; box-shadow: 0 0 0 6px #fff;
}
body[data-greon-ux] .gux-skip-link {
  position: fixed; left: 16px; top: 12px; transform: translateY(-180%);
  z-index: 100000; padding: 12px 18px; border-radius: 8px;
  background: #fff; color: #1c4529; font-weight: 700;
}
body[data-greon-ux] .gux-skip-link:focus { transform: translateY(0); }
body[data-greon-ux] :is(#formular,#sluzby,#vybrane-sluzby,#gux-main) { scroll-margin-top: 120px; }
body[data-greon-ux] #gux-main:focus { outline: none; }
body[data-greon-home] .gux-focus { padding: 24px 0; background: #f4f6ef; border-bottom: 1px solid #e0e6d9; }
body[data-greon-home] .gux-focus-title { margin: 0 0 16px; color: #26382c; font-size: 24px; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; }
body[data-greon-home] .gux-focus-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
body[data-greon-home] .gux-focus-link {
  position: relative; display: flex; align-items: end; min-width: 0; height: 180px;
  isolation: isolate; overflow: hidden; border-radius: 12px;
  background: #26382c; color: #fff; text-decoration: none;
}
body[data-greon-home] .gux-focus-link::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(8,24,12,0) 15%,rgba(8,24,12,.25) 42%,rgba(8,24,12,.9) 100%); }
body[data-greon-home] .gux-focus-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; }
body[data-greon-home] .gux-focus-copy { display: flex; align-items: end; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; padding: 20px; }
body[data-greon-home] .gux-focus-name { color: #fff; font-size: 22px; line-height: 1.2; font-weight: 750; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
body[data-greon-home] .gux-focus-action { flex: none; color: #fff; font-size: 24px; line-height: 1; }
body[data-greon-home] .gux-focus-link:hover .gux-focus-name { text-decoration: underline; text-underline-offset: 4px; }
body[data-greon-home] .home-services-header { align-items: start; }
body[data-greon-home] .rf-workflow { background: #f4f6ef; padding-block: 44px; }
body[data-greon-home] .rf-workflow h2 { margin-bottom: 24px; }
body[data-greon-home] .rf-steps h3 { line-height: 1.3; }
body[data-greon-ux] .gux-message-help { margin: 8px 0 0; max-width: 72ch; line-height: 1.55; }
body[data-greon-ux] .contact-section :is(input:not([type=file]),textarea) { font-size: 16px; }
body[data-greon-ux] .contact-section .gux-message-help { color: #edf5e8; opacity: 1; }
body[data-greon-ux] .gux-map-link {
  display: inline-flex; gap: 8px; align-items: center; min-height: 48px;
  margin-top: 16px; padding: 10px 14px; border: 1px solid #c8d7bf;
  border-radius: 10px; color: #245e32; background: #f3f7ee; font-weight: 700;
}
body[data-greon-ux] .gux-map-link:hover { background: #e4eedb; }
body[data-greon-ux] .gux-contact-action { margin-top: 22px; min-height: 52px; }
@media(min-width:768px) and (max-width:1023px) {
  body[data-greon-home] .gux-focus-links { gap: 12px; }
  body[data-greon-home] .gux-focus-copy { padding: 16px; }
  body[data-greon-home] .gux-focus-name { font-size: 20px; }
}
@media(max-width: 767px) {
  body[data-greon-home] .gux-focus { padding: 16px 0; }
  body[data-greon-home] .gux-focus-title { margin-bottom: 12px; font-size: 22px; }
  body[data-greon-home] .gux-focus-links { gap: 8px; }
  body[data-greon-home] .gux-focus-link { height: 148px; border-radius: 10px; }
  body[data-greon-home] .gux-focus-copy { padding: 12px 10px; }
  body[data-greon-home] .gux-focus-name { font-size: clamp(14px,4vw,16px); line-height: 1.25; }
  body[data-greon-home] .gux-focus-action { display: none; }
  body[data-greon-home] .home-services { padding: 40px 0; }
  body[data-greon-home] .home-services-header { margin-bottom: 22px; gap: 16px; }
  body[data-greon-home] .home-services-description { max-width: none; font-size: 15px; line-height: 1.6; }
  body[data-greon-home] .home-services-grid.preview-continuous-grid {
    display: grid !important; grid-template-columns: minmax(0,1fr) !important;
    gap: 12px !important; width: 100% !important; padding: 0 !important; margin: 0 !important;
  }
  body[data-greon-home] .home-services .home-service-card {
    display: grid !important; grid-template-columns: 84px minmax(0,1fr) !important;
    align-items: stretch; gap: 0 !important; width: 100% !important;
    min-width: 0 !important; max-width: none !important; min-height: 134px;
    padding: 0 !important; border-radius: 14px; overflow: hidden;
    border: 1px solid #dde4d6; background: #fff; box-shadow: none;
  }
  body[data-greon-home] .home-services .home-service-card-image {
    width: 84px !important; height: 100% !important; min-height: 134px;
    aspect-ratio: auto !important; margin: 0 !important; object-fit: cover; border-radius: 0;
  }
  body[data-greon-home] .home-services .preview-card-copy {
    padding: 14px !important; display: flex; flex-direction: column; gap: 6px;
  }
  body[data-greon-home] .home-services .home-service-card-title {
    font-size: 18px !important; line-height: 1.25 !important; margin: 0 !important;
  }
  body[data-greon-home] .home-services .home-service-card-text {
    display: block; font-size: 13px !important; line-height: 1.5 !important;
    margin: 0 !important; flex: none !important;
  }
  body[data-greon-home] .home-services .preview-more { margin: 0 !important; padding-top: 1px; font-size: 13px; }
  body[data-greon-home] .rf-workflow { padding-block: 32px; }
  body[data-greon-home] .rf-workflow .rf-steps { gap: 22px; }
  body[data-greon-ux] .contact-section { padding-block: 42px; }
  body[data-greon-ux] .contact-section-header { margin-bottom: 24px; }
  body[data-greon-ux] .contact-section-title { font-size: 30px; line-height: 1.2; }
  body[data-greon-ux] .contact-section .enquiry-intro { font-size: 16px; line-height: 1.6; }
  body[data-greon-ux] .gux-message-help { font-size: 13px; }
  body[data-greon-ux] .gux-map-link { max-width: 100%; font-size: 15px; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-greon-ux] { scroll-behavior: auto; }
  body[data-greon-ux] .gux-skip-link { transition: none; }
}
