/* ==========================================================================
   Najlacnejšie klimatizácie — design system (see /design.md for the source spec)
   Vanilla CSS, no framework, no build step.
   ========================================================================== */

/* ---- Fonts (self-hosted, latin + latin-ext for SK diacritics) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Medium-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Medium-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-SemiBold-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-SemiBold-latin-ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Brand (see design.md — teal + yellow from the logo, navy added 2026-11-25) */
  --color-teal:           #1374A7; /* logo blue — sampled 2026-11-25 from design-reference/kontakt-inspiracia.jpeg */
  --color-yellow:         #FAB512; /* logo orange — sampled from the same reference */
  --color-navy:           #1B3A63;

  --color-primary:        var(--color-teal);
  --color-primary-hover:  #0F5F89;
  --color-primary-fg:     #FFFFFF;

  --color-gradient-from:  #1C86C9;
  --color-gradient-to:    #F5A742;

  --color-fg:             #26303D;
  --color-fg-muted:       #6B7280;
  --color-bg:             #FFFFFF;
  --color-card:           #FFFFFF;
  --color-beige:          #F2F6F8;
  --color-border:         #E2E5E9;
  --color-footer:         var(--color-navy);

  --font-main: "Poppins", "Segoe UI", system-ui, sans-serif;

  --radius-pill:   999px;
  --radius-full:   999px;
  --radius-card:   16px;
  --radius-chip:   12px;
  --radius-input:  12px;

  --shadow-xs: 0 1px 2px rgba(27, 58, 99, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 58, 99, 0.12);

  --container-max: 1360px;
  --container-pad: 1.5rem;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-main);
  color: var(--color-fg);
  background: var(--color-bg);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-weight: 700; color: var(--color-navy); line-height: 1.25; margin: 0 0 0.75rem; }

a { color: inherit; text-decoration: none; }

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

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

.section { padding: 3.5rem 0; }
.section--muted { background: var(--color-beige); }
/* Homepage only — right after the hero, whose own bottom margin (1.5rem)
   already provides the gap, matching .about-promo-grid's own 1.5rem gap. */
.section--flush-top { padding-top: 0; }

.text-center { text-align: center; }

/* ---- 2. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--color-primary); color: var(--color-primary-fg); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--outline { background: transparent; color: var(--color-navy); border-color: var(--color-border); justify-content: center; }
.btn--outline:hover { background: var(--color-beige); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.8125rem; }
.btn--white { background: #fff; color: var(--color-navy); }

.btn--pulse { position: relative; z-index: 1; animation: btnPulse 1.5s ease-in-out infinite; }
.btn--pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid #fff;
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  animation: btnPulseRing 1.5s ease-out infinite;
}
@keyframes btnPulse {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.08); }
  40% { transform: scale(1); }
}
@keyframes btnPulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---- 3. Icon chip ----------------------------------------------------------- */
.icon-chip {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-beige);
  color: var(--color-primary);
  border-radius: var(--radius-chip);
  flex: 0 0 auto;
}
.icon-chip--sm { width: 36px; height: 36px; }
.icon-chip--sm svg { width: 16px; height: 16px; }

/* ---- 4. Header / nav -------------------------------------------------------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-xs); }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 1.5rem;
}
.logo { display: inline-flex; align-items: center; }
.logo__img { display: block; height: 48px; width: auto; }
@media (max-width: 760px) { .logo__img { height: 44px; } }

.navbar__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Mobile: the header's own Kontakt pill shrinks to an icon-only circle (full
   text stays on the off-canvas panel's own Kontakt button, which has room) —
   frees up space next to the bigger logo and the hamburger. */
@media (max-width: 760px) {
  .navbar__actions .btn--cta { padding: 0.65rem; gap: 0; }
  .navbar__actions .btn--cta__label { display: none; }
}

.nav-panel { display: contents; }
.nav-panel__header { display: none; }
.nav-panel__extra { display: none; }

.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-link { background: none; border: none; font: inherit; font-weight: 500; cursor: pointer; color: var(--color-fg); }
.nav-link.is-active,
.dropdown__item.is-active { color: var(--color-primary); }
@media (hover: hover) {
  .nav-link:hover { color: var(--color-primary); }
}
.nav-link-row { display: flex; align-items: center; gap: 0.15rem; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.25rem;
  color: var(--color-fg-muted);
  cursor: pointer;
}
.dropdown-toggle svg { transition: transform 0.2s ease; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 0.75rem;
  min-width: 260px;
  z-index: 60;
}
.has-dropdown { position: relative; }
.has-dropdown.open .dropdown { display: block; }
@media (min-width: 1201px) {
  .dropdown-toggle { pointer-events: none; }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: block; }
  .has-dropdown:hover .dropdown-toggle svg,
  .has-dropdown:focus-within .dropdown-toggle svg { transform: rotate(180deg); }
  .has-dropdown.force-closed .dropdown { display: none !important; }
}
.dropdown__item { display: flex; gap: 0.75rem; align-items: center; padding: 0.6rem; border-radius: var(--radius-chip); font-size: 0.9375rem; }
.dropdown__item:hover { background: var(--color-beige); }

.nav-toggle, .nav-close {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-fg);
  padding: 0.5rem;
}

.nav-overlay { display: none; }

@media (max-width: 1200px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .nav-panel {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0 0 0 auto;
    width: 340px;
    max-width: 88vw;
    background-color: var(--color-navy);
    background-image: radial-gradient(ellipse 75% 55% at 85% 0%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07) 40%, transparent 72%);
    background-repeat: no-repeat;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    z-index: 70;
    overflow-y: auto;
  }
  .nav-panel.open { display: flex; }

  .nav-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-panel__header .logo__img { height: 44px; filter: brightness(0) invert(1); }
  .nav-close { display: flex; color: #fff; }

  .nav-panel .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin-top: 1rem;
    padding: 1.75rem 1.5rem 1.25rem;
  }
  .nav-panel .nav-link { display: block; padding: 0.5rem 0; color: #fff; font-size: 1.125rem; }
  .nav-panel .nav-link.is-active,
  .nav-panel .dropdown__item.is-active { color: var(--color-yellow); }

  .nav-panel .has-dropdown { position: static; }
  .nav-panel .nav-link-row { justify-content: center; gap: 0.6rem; }
  .nav-panel .dropdown {
    position: static;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    margin: 0.5rem 0 0.75rem;
    min-width: auto;
    text-align: left;
  }
  .nav-panel .dropdown__item { color: rgba(255, 255, 255, 0.85); }
  .nav-panel .dropdown__item:hover { background: rgba(255, 255, 255, 0.08); }
  .nav-panel .dropdown .icon-chip { background: rgba(255, 255, 255, 0.1); color: var(--color-yellow); }

  .nav-panel .dropdown-toggle { color: #fff; }

  .nav-panel__extra {
    display: block;
    padding: 1.25rem 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-panel__cta { margin-top: 0.5rem; width: 100%; justify-content: center; }
  .nav-panel__contact { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 1.5rem; font-size: 0.9375rem; }
  .nav-panel__contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.85); }
  .nav-panel__contact svg { color: var(--color-yellow); }

  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(10, 20, 35, 0.5); z-index: 65; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
}

/* ---- 4b. Hero (homepage only — rounded photo card, same technique as
   ImunologickaWebLaravel's .hero: background photo + dark gradient overlay
   for legible text, badge/heading/CTA, responsive crop on phones) --------- */
.hero { max-width: var(--container-max); margin-inline: auto; }
.hero__container {
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: calc(100% - 2 * var(--container-pad));
  margin: 2rem auto 1.5rem;
  border-radius: var(--radius-card);
  color: #fff;
  min-height: clamp(420px, 52vw, 600px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.75rem 2.5rem;
  background-color: var(--color-navy);
  background-image: url('/images/hero-aux.webp');
  background-size: cover;
  background-position: center;
}
.hero__container::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(27, 58, 99, 0.92) 0%, rgba(27, 58, 99, 0.78) 34%, rgba(27, 58, 99, 0.2) 64%, rgba(27, 58, 99, 0.02) 85%),
    linear-gradient(to top, rgba(27, 58, 99, 0.5) 0%, rgba(27, 58, 99, 0) 32%);
  z-index: -1;
}
.hero__badge-row { display: flex; justify-content: flex-start; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff; font-size: 0.8125rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
}
.hero__intro { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 620px; text-align: left; }
.hero__intro h1 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.75rem); margin-bottom: 0.75rem; }
.hero__intro p { color: rgba(255, 255, 255, 0.88); font-size: 1.0625rem; margin: 0; max-width: 480px; }
.hero__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__actions .btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.hero__actions .btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.hero__trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 0.6rem; color: rgba(255, 255, 255, 0.9); font-size: 0.9375rem; }
.hero__trust-item svg { flex: 0 0 auto; }
.hero__action-short { display: none; }

@media (max-width: 760px) {
  .hero__container {
    min-height: 0;
    margin-top: 3px;
    padding: 1.75rem var(--container-pad);
    gap: 1.25rem;
    padding-top: calc((100vw - 2 * var(--container-pad)) * 0.95);
    background-size: cover;
    background-position: center 22%;
  }
  .hero__container::before {
    background: radial-gradient(150% 120% at 100% 100%, rgba(27, 58, 99, 0.85) 0%, rgba(27, 58, 99, 0.65) 25%, rgba(27, 58, 99, 0.35) 45%, rgba(27, 58, 99, 0.12) 65%, rgba(27, 58, 99, 0) 80%);
  }
  /* Badge je prvý flex child, takže by ho inak tlačil nadol padding-top
     vyhradený pre odkrytie fotky — na mobile ho preto vyberieme z toku
     a pritlačíme k samému vrchu hero elementu bez ohľadu na ten padding. */
  .hero__badge-row { position: absolute; top: 1.75rem; left: var(--container-pad); right: var(--container-pad); }
  .hero__badge {
    background: rgba(13, 28, 48, 0.82);
    border: none;
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  .hero__intro-extra { display: none; }
  .hero__actions { width: 100%; flex-wrap: nowrap; gap: 0.625rem; }
  .hero__actions .btn { flex: 1 1 0; justify-content: center; padding-inline: 0.75rem; white-space: nowrap; }
  .hero__action-full { display: none; }
  .hero__action-short { display: inline; }
  .hero__trust { display: none; }
}

/* ---- 5. Page banner (gradient hero on every sub-page) ----------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background-color: var(--color-gradient-from);
  background-image: url('/images/page-banner.webp');
  background-size: cover;
  background-position: center;
  padding: 4rem var(--container-pad) 3.5rem;
  text-align: center;
}
.page-banner__inner { position: relative; max-width: var(--container-max); margin: 0 auto; }
.page-banner__breadcrumb { color: rgba(255, 255, 255, 0.85); font-size: 0.9375rem; margin: 0 0 0.75rem; }
.page-banner__breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.page-banner__title { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0; overflow-wrap: break-word; }
@media (max-width: 760px) {
  .page-banner__title { font-size: 1.375rem; }
}

/* ---- 6. CTA band (repeated before the footer on every page) ---------------- */
.cta-band {
  background: var(--color-beige);
  text-align: center;
  padding: 3rem var(--container-pad);
}
.cta-band__question { font-size: 2.5rem; font-weight: 600; color: var(--color-navy); line-height: 1.15; margin: 0 0 0.75rem; max-width: 620px; }
.cta-band__text { font-size: 1rem; color: var(--color-fg-muted); margin: 0 0 1.25rem; max-width: 480px; }

/* ---- 7. Service cards -------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--color-beige); color: var(--color-primary);
  border-radius: var(--radius-chip); margin-bottom: 1rem;
}
.service-card__title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.service-card__text { color: var(--color-fg-muted); font-size: 0.9375rem; margin: 0 0 1rem; }
/* .service-card__body is the actual flex child of .service-card (icon/title/
   text/link are its children, not .service-card's directly) — it needs to be
   a flex column itself and grow to fill the equal-height card, otherwise
   .service-card__link's margin-top:auto below has no flex context to push
   against and does nothing. */
.service-card__body { display: flex; flex-direction: column; flex: 1; }
/* Grid rows already stretch cards to equal height — margin-top: auto pushes
   the link to the bottom of every card regardless of how long its own text
   is, so all the links line up on the same row across a row of cards. */
.service-card__link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-primary); font-weight: 600; font-size: 0.9375rem; margin-top: auto; }

/* Link variant (sluzba-detail "Ďaľšie služby") — whole card is the <a>, centered */
.service-card--center { text-align: center; text-decoration: none; }
.service-card--center .service-card__icon { margin-inline: auto; }
.service-card--center .service-card__title { margin: 0; }
.service-grid--sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Photo variant (homepage "Naše služby") — full-bleed photo at the card top */
.service-card--photo { padding: 0; overflow: hidden; }
.service-card--photo .service-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card--photo .service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card--photo .service-card__body { padding: 1.5rem; }

/* Promo banner (homepage "Akciová ponuka klimatizácií") — photo bg + overlay */
.promo-banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background-image: url('/images/ponuka-banner.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(27, 58, 99, 0.85) 0%, rgba(27, 58, 99, 0.45) 60%, rgba(27, 58, 99, 0.15) 100%);
  z-index: 0;
}
.promo-banner > * { position: relative; z-index: 1; }
.promo-banner h3 { color: #fff; font-size: 1.375rem; margin: 0; }

.about-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
@media (max-width: 760px) { .about-promo-grid { grid-template-columns: 1fr; } }

.about-card { background: var(--color-beige); border-radius: var(--radius-card); padding: 2rem; }

/* ---- 8. Contact block (icon list + two-tone claim) -------------------------- */
.contact-block__eyebrow { color: var(--color-fg-muted); font-size: 1rem; margin-bottom: 0.25rem; }
.contact-block__claim { font-size: 2.25rem; font-weight: 700; color: var(--color-navy); margin: 0 0 1.5rem; }
.contact-block__claim em { font-style: normal; color: var(--color-yellow); }
.contact-block__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-block__list li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.0625rem; }
.contact-block__list svg { color: var(--color-navy); flex: 0 0 auto; }
/* The e-mail address has no spaces, so as a flex item it won't shrink below
   its own unbroken width (flex default min-width:auto) — on a narrow phone
   that pushed the whole page into horizontal overflow/scroll. */
.contact-block__list a { min-width: 0; overflow-wrap: anywhere; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: stretch; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.about-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.about-layout img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; } }

/* ---- 9. Form card (Kontakt, Dopytový formulár) ------------------------------ */
.form-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
  padding: 2rem;
}
.form-card h2, .form-card h3 { color: var(--color-navy); }
.form-card__title { font-size: 1.5rem; }
@media (max-width: 560px) { .form-card { padding: 0.625rem; } }
/* Keď je formulár v grid-column natiahnutý na výšku vedľajšieho boxu
   (napr. kontakt.blade.php), nech sa správa textového poľa natiahne a
   tlačidlo zostane pekne pri spodku namiesto prázdneho miesta pod formulárom. */
.form-field:has(.form-textarea) { flex: 1; display: flex; flex-direction: column; }
.form-field:has(.form-textarea) .form-textarea { flex: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { position: relative; margin-bottom: 1rem; }
.form-field__icon { position: absolute; left: 1rem; top: 1rem; color: var(--color-fg-muted); pointer-events: none; }
.form-field textarea ~ .form-field__icon { top: 1rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  color: var(--color-fg);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 0.85rem 1rem 0.85rem 2.75rem;
}
.form-textarea { min-height: 140px; resize: vertical; }
/* No .form-field__icon on typ_objektu/sluzba — they don't need the icon's reserved space.
   Native select arrow replaced with a teal chip (.form-select__arrow below) —
   same look as the old Joomla site's dopytový formulár, instead of the
   browser's tiny default arrow crammed into the corner. */
.form-select--plain {
  padding-left: 1rem;
  padding-right: 3.25rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form-select__arrow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  pointer-events: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(33, 158, 188, 0.15);
}
.form-error { color: #C0392B; font-size: 0.8125rem; margin-top: 0.35rem; }
.form-actions { display: flex; justify-content: flex-start; margin: 0.875rem 0; }

@media (max-width: 640px) {
  /* Row's own gap used to stack on top of each field's margin-bottom once
     the grid collapsed to 1 column — doubled the gap after "Vaše meno" /
     "Telefón" / "Typ objektu" (the first field of each row) vs. every
     other field. gap:0 leaves margin-bottom as the single source of
     spacing, so it's even everywhere. */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-field { margin-bottom: 0.5rem; }
  /* Top/bottom padding (so the input height) stays the same as desktop —
     only the horizontal breathing room is tighter on mobile. */
  .form-input, .form-select, .form-textarea { padding: 0.85rem 0.5rem 0.85rem 2.75rem; }
  .form-select--plain { padding-left: 0.5rem; }
}
.form-gdpr {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.8125rem; color: var(--color-fg-muted);
  margin: 0.25rem 0 0; cursor: pointer;
}
.form-gdpr input { margin-top: 0.2rem; accent-color: var(--color-primary); width: 16px; height: 16px; flex-shrink: 0; }
.form-gdpr a { color: var(--color-primary); font-weight: 600; }
.form-gdpr a:hover { text-decoration: underline; }

/* Hidden from real visitors via CSS (not type="hidden"), so autofill/bots
   that ignore CSS still fill the honeypot in — see HtmxFormRequest. */
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { border-radius: var(--radius-card); padding: 1.25rem 1.5rem; }
.form-alert--success { background: #E7F3EC; color: #1F6B45; }
.form-alert--success h3 { color: #1F6B45; }

/* While htmx sends the form (it adds .htmx-request to the <form>, and
   hx-disabled-elt disables the button): "Odosielam…" replaces the label,
   no double submit. */
.form-submit__label { display: inline-flex; align-items: center; gap: 0.5rem; }
.form-submit__busy { display: none; }
form.htmx-request .form-submit__label { display: none; }
form.htmx-request .form-submit__busy { display: inline-flex; align-items: center; gap: 0.6rem; }
form.htmx-request .form-submit__busy::before {
  content: "";
  width: 1em; height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: form-submit-spin 0.8s linear infinite;
}
@keyframes form-submit-spin { to { transform: rotate(360deg); } }
.form-submit:disabled { cursor: wait; opacity: 0.85; }

/* ---- 10. Footer -------------------------------------------------------------- */
.footer { background: var(--color-footer); color: rgba(255, 255, 255, 0.75); }
.footer__container { max-width: var(--container-max); margin: 0 auto; padding: 3.5rem var(--container-pad) 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer__logo-img { width: auto; height: 40px; margin-bottom: 1rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__about { max-width: 420px; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.footer__social-link:hover { background: var(--color-yellow); color: var(--color-navy); }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a:hover { color: #fff; }
.footer__links--icons a { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__links--icons svg { color: var(--color-yellow); flex-shrink: 0; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bottom-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 1.25rem var(--container-pad);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.8125rem;
}
.footer__company { color: rgba(255, 255, 255, 0.5); margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); line-height: 1.6; }
.footer__legal a { margin-left: 1rem; }
.footer__legal a:hover { color: #fff; }
.footer__cookie-link {
  margin-left: 1rem;
  background: none; border: none; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.footer__cookie-link:hover { color: #fff; }

/* ---- 11. Gallery (Realizácie) — masonry columns (natural photo proportions,
   not cropped mini-thumbs) + click-to-enlarge lightbox ----------------------- */
.gallery-grid { column-count: 3; column-gap: 1rem; }
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 560px) { .gallery-grid { column-count: 1; } }

.gallery-item {
  display: block;
  position: relative;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-chip);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 58, 99, 0.45) 0%, rgba(27, 58, 99, 0) 35%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item__icon {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after,
.gallery-item:hover .gallery-item__icon { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 20, 35, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
body.lightbox-open { overflow: hidden; }
.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 86vh;
  border-radius: var(--radius-chip);
  box-shadow: var(--shadow-md);
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { width: 2.5rem; height: 2.5rem; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .lightbox__close { top: 0.75rem; right: 0.75rem; }
}

/* ---- 12. Prose (GDPR / Cookies) ---------------------------------------------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }
.prose p { margin: 0 0 1rem; }

/* ---- 13. Katalóg klimatizácií (Ponuka klimatizácií) -------------------------- */
.catalog-intro { max-width: 760px; color: var(--color-fg-muted); margin: 0 0 2rem; }

.catalog-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.catalog-tab {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-fg);
  font-weight: 600;
  font-size: 0.9375rem;
}
.catalog-tab:hover { border-color: var(--color-primary); }
.catalog-tab.is-active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

@media (max-width: 760px) {
  /* Equal-width grid instead of flex-wrap — labels differ in length
     ("Všetky" vs. "Multisplit"), so wrapped flex pills landed at uneven
     widths; a grid keeps every pill the same size. */
  .catalog-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .catalog-tab { padding: 0.45rem 0.5rem; font-size: 0.8125rem; text-align: center; }
}

.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .catalog-layout { grid-template-columns: 1fr; } }

.catalog-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.diy-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-navy);
  background-image: url('/images/kutilovia-banner.webp');
  background-size: cover;
  background-position: center;
  text-decoration: none;
  padding: 1.25rem;
}
.diy-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 58, 99, 0.1) 0%, rgba(27, 58, 99, 0.6) 55%, rgba(27, 58, 99, 0.92) 100%);
}
.diy-banner__text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}
.diy-banner__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  width: fit-content;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.diy-banner__cta svg { transition: transform 0.2s ease; }
.diy-banner:hover .diy-banner__cta { background: var(--color-beige); }
.diy-banner:hover .diy-banner__cta svg { transform: translateX(3px); }

.catalog-filters {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}
.catalog-filters summary {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--color-navy);
  cursor: pointer; list-style: none;
}
.catalog-filters summary::-webkit-details-marker { display: none; }
.catalog-filters__chevron { margin-left: auto; transition: transform 0.2s ease; }
.catalog-filters[open] summary .catalog-filters__chevron { transform: rotate(180deg); }
@media (min-width: 861px) {
  .catalog-filters summary { pointer-events: none; }
  .catalog-filters__chevron { display: none; }
}

.catalog-filters__group { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); }
.catalog-filters__group:first-of-type { margin-top: 1.25rem; }
.catalog-filters__group h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-fg-muted); margin: 0 0 0.75rem; }

.catalog-toggle, .catalog-checkbox {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9375rem; padding: 0.35rem 0; cursor: pointer;
}
.catalog-toggle input, .catalog-checkbox input { accent-color: var(--color-primary); width: 16px; height: 16px; flex-shrink: 0; }
.catalog-checkbox:has(.catalog-checkbox__range) { align-items: flex-start; }
.catalog-checkbox:has(.catalog-checkbox__range) input { margin-top: 0.2rem; }
.catalog-checkbox__range { color: var(--color-fg-muted); font-size: 0.8125rem; }

.catalog-filters form > .btn { margin-top: 1.25rem; }

.catalog-results__count { color: var(--color-fg-muted); font-size: 0.9375rem; margin: 0 0 1.25rem; }

.catalog-empty {
  text-align: center; color: var(--color-fg-muted);
  background: var(--color-beige); border-radius: var(--radius-card);
  padding: 3rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.catalog-empty svg { color: var(--color-primary); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }

.product-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.product-card__media { display: block; position: relative; aspect-ratio: 4 / 3; background: var(--color-beige); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-border); }
.product-card__kw {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--color-navy); color: #fff;
  font-size: 0.8125rem; font-weight: 600;
  padding: 0.3rem 0.65rem; border-radius: var(--radius-pill);
}

.product-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.product-card__title { font-size: 1.0625rem; margin: 0.15rem 0; }
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--color-primary); }
.product-card__model { color: var(--color-fg-muted); font-size: 0.8125rem; }
.product-card__wifi {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--color-fg-muted); font-size: 0.8125rem; margin-top: 0.6rem;
}
.product-card__wifi svg { color: var(--color-primary); }

.product-card__footer { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; }
.product-card__price { font-size: 1.25rem; font-weight: 700; color: var(--color-navy); white-space: nowrap; }
.product-card__footer .btn { white-space: nowrap; }

.pagination { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.pagination__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-fg);
  font-weight: 600; font-size: 0.9375rem;
}
.pagination__link:hover { border-color: var(--color-primary); }
.pagination__link.is-active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.pagination__link--disabled { opacity: 0.35; pointer-events: none; }
.pagination__ellipsis {
  display: inline-flex; align-items: flex-end; justify-content: center;
  min-width: 1rem; height: 40px; padding-bottom: 0.5rem;
  color: var(--color-fg-muted); font-weight: 600;
}

@media (max-width: 480px) {
  /* Prev/first/window(≤3)/last/next can be up to 7 pills + 2 "…" — shrink
     everything a bit more so it still fits one line on a narrow phone. */
  .pagination { gap: 0.3rem; }
  .pagination__link { min-width: 32px; height: 32px; padding: 0 0.35rem; font-size: 0.8125rem; }
  .pagination__ellipsis { height: 32px; min-width: 0.75rem; }
}

/* ---- 14. Maskot ---------------------------------------------------------- */
.cta-band__inner { display: flex; align-items: center; justify-content: center; gap: 2rem; max-width: var(--container-max); margin: 0 auto; flex-wrap: wrap; }
.cta-band__mascot { width: 260px; height: auto; flex-shrink: 0; }
.cta-band__content { text-align: left; flex: 1 1 420px; max-width: 640px; }
@media (max-width: 760px) {
  .cta-band__mascot { width: 160px; }
  .cta-band__content { text-align: center; }
  .cta-band__question { font-size: 1.25rem; }
  .cta-band__text { margin-inline: auto; }
}

.maskot-404 { width: 110px; height: auto; flex-shrink: 0; }

.mascot-layout { display: flex; align-items: center; gap: 2.5rem; }
/* Fixovaná výška namiesto šírky — mascoty majú rôzny pomer strán (cistenie
   je 800x1146, ostatné 800x896), takže pri spoločnej šírke by boli vizuálne
   rôzne veľké; takto majú na stránke vždy rovnakú výšku. */
.mascot-layout__img { height: 291px; width: auto; flex-shrink: 0; margin-left: auto; }
@media (max-width: 860px) {
  .mascot-layout { flex-direction: column; text-align: center; }
  .mascot-layout__img { margin: 0 auto; height: 224px; width: auto; }
}

.catalog-intro-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.catalog-intro-row .catalog-intro { margin-bottom: 0; }
.catalog-intro__mascot { width: 120px; height: auto; flex-shrink: 0; transform: translateY(-8px); }
@media (max-width: 760px) { .catalog-intro-row { flex-direction: column; } }

/* ---- 16. Produkt detail ------------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }

.product-detail__media { position: relative; aspect-ratio: 4 / 3; background: var(--color-beige); border-radius: var(--radius-card); overflow: hidden; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__media .product-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-border); }
.product-detail__media .product-card__kw { position: absolute; top: 1rem; left: 1rem; z-index: 1; }

.product-detail__name { font-size: 1.625rem; font-weight: 700; color: var(--color-fg); line-height: 1.25; margin: 0 0 0.35rem; }
.product-detail__model-code { color: var(--color-fg-muted); font-size: 0.9375rem; margin: 0 0 1.25rem; overflow-wrap: break-word; }
.product-detail__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.spec-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--color-beige); color: var(--color-navy);
  font-size: 0.8125rem; font-weight: 600;
  padding: 0.4rem 0.8rem; border-radius: var(--radius-pill);
}
.product-detail__room { color: var(--color-fg-muted); margin-bottom: 1.25rem; }

.product-detail__highlight {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
}
.product-detail__highlight svg { flex: 0 0 auto; color: var(--color-primary); margin-top: 0.15rem; }
.product-detail__highlight p { margin: 0; color: var(--color-fg); }

.price-toggle { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border); }
.product-detail__price { font-size: 2rem; font-weight: 700; color: var(--color-navy); margin-bottom: 0.25rem; }
.product-detail__price-note { font-size: 0.8125rem; color: var(--color-fg-muted); margin: 0 0 1rem; }

.product-detail-lower { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .product-detail-lower { grid-template-columns: 1fr; } }

.spec-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--color-card); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-xs); }
.spec-table th, .spec-table td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--color-border); font-size: 0.9375rem; overflow-wrap: break-word; }
.spec-table th { color: var(--color-fg-muted); font-weight: 600; width: 45%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.faq-item { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.faq-item summary { font-weight: 600; color: var(--color-navy); cursor: pointer; }
.faq-item p { color: var(--color-fg-muted); margin: 0.75rem 0 0; }

/* ---- 15. Kontakt card (balances the form-card on the opposite column) ------- */
.contact-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
  padding: 2rem;
}
.contact-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.contact-card__mascot { width: 100px; height: auto; flex-shrink: 0; }
.contact-card__divider { border-top: 1px solid var(--color-border); margin: 2rem 0 1.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-details__item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-details__item h3 { font-size: 1rem; margin: 0 0 0.3rem; }
.contact-details__item p { color: var(--color-fg-muted); margin: 0; }
@media (max-width: 560px) {
  .contact-card__top { flex-direction: column; align-items: center; text-align: center; }
  .contact-card__mascot { width: 120px; order: -1; margin: 0 auto; }
}

/* ---- 17. Cookie consent (bottom-left, accept all / customize) --------------- */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 300;
  width: min(380px, calc(100vw - 2.5rem));
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.875rem; color: var(--color-fg-muted); line-height: 1.55; margin: 0 0 1rem; }
.cookie-banner a { color: var(--color-primary); font-weight: 600; }
.cookie-banner__settings[hidden] { display: none; }
.cookie-banner__settings h3 { margin: 0 0 0.5rem; color: var(--color-navy); font-size: 1rem; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cookie-category { padding: 0.75rem 0; border-top: 1px solid var(--color-border); }
.cookie-category:first-of-type { border-top: none; padding-top: 0; }
.cookie-category__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 0.875rem; color: var(--color-fg); }
.cookie-category__desc { margin: 0.35rem 0 0; font-size: 0.8125rem; color: var(--color-fg-muted); }

.cookie-toggle { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-toggle span {
  position: absolute; inset: 0;
  background: var(--color-border);
  border-radius: var(--radius-full);
  transition: background-color 0.2s ease;
  pointer-events: none;
}
.cookie-toggle span::before {
  content: "";
  position: absolute; left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff; border-radius: 50%;
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + span { background: var(--color-primary); }
.cookie-toggle input:checked + span::before { transform: translateX(16px); }
.cookie-toggle input:disabled { cursor: not-allowed; }
.cookie-toggle input:disabled + span { opacity: 0.6; }

.cookie-fab, .back-to-top {
  position: fixed; bottom: 2.5rem; z-index: 300;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; aspect-ratio: 1 / 1;
  background: var(--color-navy); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.cookie-fab { left: 1.25rem; }
.back-to-top { right: 1.25rem; }
.cookie-fab:hover, .back-to-top:hover { transform: scale(1.08); }
.cookie-fab[hidden] { display: none; }
/* Over a dark/navy section (currently: the footer) scrolled underneath it,
   navy-on-navy made the icon nearly invisible — app.js toggles this when
   the fixed button's position overlaps .footer. */
.cookie-fab.is-inverted, .back-to-top.is-inverted { background: #fff; color: var(--color-navy); }

/* back-to-top fades in/out instead of the cookie-fab's instant [hidden]
   toggle — app.js toggles .is-visible on scroll instead of the hidden attr. */
.back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }

@media (max-width: 480px) {
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
  /* Higher than the desktop 1.25rem — at the very bottom of a long page
     (e.g. GDPR) a fixed 0.75rem offset sat right on top of the last line
     of text/footer links underneath it. */
  .cookie-fab, .back-to-top { bottom: 2.75rem; }
  .cookie-fab { left: 0.75rem; }
  .back-to-top { right: 0.75rem; }
}

/* ---- 18. Utility classes (kept to this short, generic set so a one-off
   spacing/width tweak doesn't need a new inline style="" — CSP's style-src
   has no 'unsafe-inline', see SecurityHeaders) ------------------------------ */
.text-muted { color: var(--color-fg-muted); }
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mt-6 { margin-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.max-w-480 { max-width: 480px; }
.max-w-560 { max-width: 560px; }
.max-w-720 { max-width: 720px; }
.max-w-780 { max-width: 780px; }
.max-w-860 { max-width: 860px; }
.max-w-1100 { max-width: 1100px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-160 { width: 160px; height: auto; }
.img-card { border-radius: var(--radius-card); box-shadow: var(--shadow-md); }
.icon-rotate-180 { transform: rotate(180deg); }
.flex-center-wrap { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.flex-wrap-gap { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- 19. Maintenance page (standalone error view, no header/footer) ------- */
.maintenance-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1.5rem; }
.maintenance-page__title { font-size: 1.75rem; }
.maintenance-page__highlight { color: var(--color-yellow); }
