/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --color-dark: #1a2a3a;
  --color-dark-soft: #243444;
  --color-accent: #b8a272;
  --color-accent-light: #d4c49a;
  --color-accent-dark: #7f6b3c; /* gold for small text on light backgrounds (WCAG AA) */
  --color-light: #f8f6f2;
  --color-white: #ffffff;
  --color-text: #2c2c2c;
  --color-text-muted: #6b6b6b;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-main { flex: 1 0 auto; }
.footer { flex-shrink: 0; }

body.no-scroll {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}

.eyebrow--light { color: var(--color-accent-light); }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  border: none;
  cursor: pointer;
}

.btn--gold {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn--gold:hover {
  background: var(--color-accent-light);
  box-shadow: 0 8px 24px rgba(184, 162, 114, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 40px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s var(--ease) 0.3s, transform 0.5s var(--ease) 0.3s,
              background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

body.loaded .navbar { opacity: 1; transform: translateY(0); }

/* Subpages: navbar shows right away, no waiting for the page load */
.navbar--solid { opacity: 1; transform: none; animation: navIn 0.4s var(--ease) both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-10px); } }

.navbar.is-scrolled {
  padding: 16px 40px;
  background: var(--color-dark);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.navbar__logo-icon {
  height: 72px;
  width: auto;
  display: block;
}

.navbar__logo-text { color: var(--color-accent); font-weight: 500; }

.navbar__links {
  display: flex;
  gap: 40px;
}

.navbar__links a {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease);
}

.navbar__links a:hover::after { width: 100%; }

.navbar__links a.is-active { color: var(--color-accent-light); }
.navbar__links a.is-active::after { width: 100%; }
.navbar__mobile a.is-active { color: var(--color-accent-light); }

.navbar--solid { background: var(--color-dark); }

.navbar__cta { padding: 12px 24px; font-size: 0.8rem; }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__burger span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.navbar__mobile {
  position: relative;
  display: none;
  flex-direction: column;
  gap: 20px;
  background: var(--color-dark);
  padding: 24px 40px 32px;
  overflow: hidden;
}

.navbar__mobile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/logo-bg.webp');
  background-repeat: no-repeat;
  background-position: right -60px bottom -60px;
  background-size: 280px;
  opacity: 0.08;
  pointer-events: none;
}

.navbar__mobile a { position: relative; color: var(--color-white); font-size: 1rem; }
.navbar__mobile .btn { position: relative; }

@media (max-width: 1024px) { .navbar__mobile.is-open { display: flex; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  background: var(--color-dark);
  padding: 12px;
  gap: 12px;
}

.hero__left {
  position: relative;
  width: 0;
  overflow: hidden;
  transition: width 1.3s var(--ease) 0.5s;
  display: flex;
  align-items: center;
  padding-top: 110px;
}

.hero__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/logo-bg.webp');
  background-repeat: no-repeat;
  background-position: right -90px bottom -90px;
  background-size: 440px;
  opacity: 0.07;
  pointer-events: none;
}

body.loaded .hero__left {
  width: 36%;
}

.hero__left-inner {
  padding: 0 48px;
  width: 100%;
  max-width: 420px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s var(--ease) 0.9s, transform 0.5s var(--ease) 0.9s;
}

body.loaded .hero__left-inner {
  opacity: 1;
  transform: translateX(0);
}

.hero__left-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero__desc {
  color: rgba(248, 246, 242, 0.75);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 32px;
}

.hero__divider {
  width: 48px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 28px;
}

.hero__services {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__services li {
  color: var(--color-white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 196, 154, 0.15);
}

.hero__services li:last-child { border-bottom: none; }

.hero__services li a {
  color: inherit;
  display: block;
  transition: color 0.3s var(--ease);
}

.hero__services li a:hover { color: var(--color-accent); }

.hero__viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__viewall span { transition: transform 0.3s var(--ease); }
.hero__viewall:hover span { transform: translate(3px, -3px); }

.icon-arrow {
  display: inline-flex;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

.icon-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__image-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-radius 0.8s var(--ease);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.1s var(--ease) 0.2s;
}

body.loaded .hero__image { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,42,58,0.15) 0%, rgba(26,42,58,0.05) 35%, rgba(26,42,58,0.75) 75%, rgba(26,42,58,0.95) 100%);
}

.hero__headline {
  position: absolute;
  left: 48px;
  bottom: 90px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 0.8s, transform 0.7s var(--ease) 0.8s;
}

body.loaded .hero__headline { opacity: 1; transform: translateY(0); }

.hero__name-overlay { display: none; }

.hero__motto {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.04em;
  color: var(--color-accent-light);
  margin-bottom: 10px;
}

.hero__headline h1 {
  color: var(--color-white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
}

.hero__headline .accent-text { color: var(--color-accent-light); font-weight: 500; }

.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 1s var(--ease) 1.8s;
}

body.loaded .hero__scroll { opacity: 1; }

.hero__scroll span {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-accent), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent-light);
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

.hero__scroll small {
  color: var(--color-accent-light);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Page header (subpages)
   ========================================================================== */
.page-header {
  background: var(--color-dark);
  padding: 190px 0 50px;
  text-align: center;
}

.page-header--light {
  background: var(--color-light);
}

.page-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-top: 10px;
}

.page-header--light h1 { color: var(--color-dark); }

.page-header p {
  color: rgba(248, 246, 242, 0.7);
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 1.02rem;
  font-weight: 300;
}

.page-header--light p { color: var(--color-text-muted); }

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: 130px 0 60px;
  background: var(--color-light);
  text-align: center;
}

.about h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--color-dark);
  margin: 12px 0 24px;
}

.about__intro {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.about__more { margin-top: 32px; }

.stats {
  display: flex;
  max-width: 720px;
  margin: 0 auto;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat:not(:last-child) {
  border-right: 1px solid rgba(184, 162, 114, 0.25);
}

.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-dark);
}

.stat__suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-accent);
}

.stat p {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Services / Accordion
   ========================================================================== */
.services {
  background: var(--color-light);
  padding: 20px 0 140px;
  text-align: center;
}

.accordion {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.accordion__item {
  border-bottom: 1px solid rgba(184, 162, 114, 0.25);
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 28px 8px;
  text-align: left;
}

.accordion__num {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: rgba(26, 42, 58, 0.65);
  transition: color 0.3s var(--ease);
  min-width: 28px;
}

.accordion__title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--color-text-muted);
  transition: color 0.3s var(--ease);
}

.accordion__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.accordion__icon::before { width: 14px; height: 1px; }
.accordion__icon::after { width: 1px; height: 14px; transition: transform 0.3s var(--ease); }

.accordion__item.is-active .accordion__num,
.accordion__item.is-active .accordion__title {
  color: var(--color-dark);
}

.accordion__item.is-active .accordion__title { color: var(--color-accent-dark); }

.accordion__item.is-active .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.accordion__body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 8px;
}

.accordion__item.is-active .accordion__body {
  max-height: 1500px;
  opacity: 1;
  padding: 0 8px 28px 60px;
}

.accordion__body p {
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  max-width: 560px;
}

.accordion__list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
}

.accordion__list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-text-muted);
  font-weight: 300;
  font-size: 0.95rem;
}

.accordion__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  background: var(--color-light);
  padding: 20px 0 140px;
}

.faq__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}

.faq__header h2 {
  color: var(--color-dark);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 4px;
}

.faq__helplink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 12px 22px;
  border: 1px solid rgba(107, 107, 107, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.faq__helplink span { color: var(--color-accent); transition: transform 0.3s var(--ease); }
.faq__helplink:hover { border-color: var(--color-accent); color: var(--color-accent); }
.faq__helplink:hover span { transform: translate(2px, -2px); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(26,42,58,0.05);
  transition: box-shadow 0.3s var(--ease);
}

.faq__item.is-active { box-shadow: 0 12px 32px rgba(26,42,58,0.08); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 28px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-dark);
}

.faq__plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq__plus::before,
.faq__plus::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq__plus::before { width: 14px; height: 1.5px; }
.faq__plus::after { width: 1.5px; height: 14px; }

.faq__item.is-active .faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 28px;
}

.faq__item.is-active .faq__a {
  max-height: 1500px;
  opacity: 1;
  padding: 0 28px 26px;
}

.faq__a p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 640px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  background: var(--color-white);
  padding: 20px 0 140px;
}

.contact h2 {
  color: var(--color-dark);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 56px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__item {
  background: var(--color-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.contact__item--address {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__item:nth-child(2) { grid-column: 2; grid-row: 1; }
.contact__item:nth-child(3) { grid-column: 2; grid-row: 2; }

.contact__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.contact__icon svg { width: 100%; height: 100%; display: block; }

.contact__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 8px;
}

.contact__item p { font-size: 1.05rem; }

.contact__item a:hover { color: var(--color-accent); }

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--color-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 12px 40px rgba(26, 42, 58, 0.06);
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__row--full { grid-column: 1 / -1; }

.form__row label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 500;
}

.form__row input,
.form__row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  border: 1px solid rgba(107, 107, 107, 0.18);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  resize: vertical;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form__row input:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 162, 114, 0.15);
}

.contact__form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
}

.form__note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  min-height: 1.2em;
}
.form__note.is-error { color: #a33a2c; }
.contact__form .btn:disabled { opacity: 0.6; cursor: wait; }

/* Spam trap: hidden from people, bots fill it in */
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact__map {
  position: relative;
  margin-top: 40px;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact__map.is-loaded::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Map placeholder shown until the visitor clicks "Zobraziť mapu" */
.map-facade {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: var(--color-white);
  background: var(--color-dark);
  position: relative;
}
.map-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/logo-bg.webp') no-repeat right -70px bottom -90px / 340px;
  opacity: 0.07;
  pointer-events: none;
}
.map-facade > * { position: relative; }
.map-facade__icon { width: 40px; height: 40px; color: var(--color-accent); }
.map-facade__icon svg { width: 100%; height: 100%; display: block; }
.map-facade__address { font-family: var(--font-heading); font-size: 1.35rem; }
.map-facade__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.contact__map .map-facade .btn { margin: 0; }
.map-facade__link {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.map-facade__link .icon-arrow { transition: transform 0.3s var(--ease); }
.map-facade__link:hover .icon-arrow { transform: translate(3px, -3px); }

/* <picture> around the hero image must not change its layout */
.hero__image-wrap picture { display: contents; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  background: var(--color-dark);
  padding: 48px 0;
  border-top: 1px solid rgba(212, 196, 154, 0.12);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/logo-bg.webp');
  background-repeat: no-repeat;
  background-position: right -50px center;
  background-size: 220px;
  opacity: 0.06;
  pointer-events: none;
}

.footer__inner { position: relative; z-index: 1; }

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  color: rgba(248, 246, 242, 0.6);
  font-size: 0.85rem;
  transition: color 0.3s var(--ease);
}

.footer__links a:hover { color: var(--color-accent); }

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.footer__logo-icon {
  height: 30px;
  width: auto;
  display: block;
}

.footer__logo em { font-style: normal; color: var(--color-accent); font-weight: 500; }

.footer p {
  color: rgba(248, 246, 242, 0.5);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr; }

  .navbar__links, .navbar__cta { display: none; }
  .navbar__burger { display: flex; }

  .navbar { background: var(--color-dark); }

  .navbar__logo { font-size: 1.45rem; gap: 10px; white-space: nowrap; }
  body.no-scroll .navbar__logo-text { display: none; }
  .navbar__logo-icon { height: 53px; }

  body.no-scroll .navbar { padding: 14px 20px; }
  body.no-scroll .navbar__logo-icon { height: 40px; }

  .page-header { padding: 130px 0 40px; }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 0;
    gap: 0;
  }

  .hero__left { display: none; }

  .hero__image-wrap { flex: 1; height: 100%; border-radius: 0; }
  .hero__image { object-position: 68% 30%; }
  .hero__overlay { background: linear-gradient(180deg, rgba(26,42,58,0.65) 0%, rgba(26,42,58,0.6) 35%, rgba(26,42,58,0.85) 75%, rgba(26,42,58,0.97) 100%); }

  .hero__name-overlay {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 24px;
    right: 24px;
    top: 110px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 1.1;
    color: var(--color-white);
    /* Visible from the first paint (it is the page's main content for Google's LCP metric);
       only a gentle slide-up, no fade */
    animation: heroNameIn 0.9s var(--ease) both;
  }

  .hero__name-overlay .accent { color: var(--color-accent); }


  .hero__headline { left: 24px; bottom: 50px; right: 24px; }
  .hero__motto { font-size: 0.8rem; margin-bottom: 8px; }
  .hero__headline h1 { font-size: 1.3rem; }
  .hero__scroll { display: none; }

  .about, .services, .faq, .contact { padding: 20px 0 60px; }
  .about { padding-top: 120px; }
  .accordion__item.is-active .accordion__body { padding-left: 8px; }

  .stats { gap: 4px; }
  .stat { padding: 0 8px; }
  .stat__num, .stat__suffix { font-size: 1.6rem; }

  .faq__header { flex-direction: column; align-items: flex-start; }
  .faq__helplink { margin-left: 0; }
  .faq__q { padding: 20px; font-size: 0.95rem; }
  .faq__item.is-active .faq__a { padding: 0 20px 22px; }

  .contact__form { grid-template-columns: 1fr; padding: 28px; order: 1; }
  .contact__info { grid-template-columns: 1fr; order: 2; }
  .contact__item--address,
  .contact__item:nth-child(2),
  .contact__item:nth-child(3) { grid-column: 1; grid-row: auto; }

  .contact__map { height: 260px; margin-top: 28px; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links, .footer__logo { display: none; }
}

@media (max-width: 480px) {
  .navbar { padding: 20px; }
  .navbar.is-scrolled { padding: 14px 20px; }
  .section-inner { padding: 0 20px; }
}

.faq__note {
  margin-top: 40px;
  max-width: 760px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Wide screens: navbar spans full width so the logo lines up with the hero left panel */
@media (min-width: 1025px) {
  .navbar__inner { max-width: none; }
  .navbar, .navbar.is-scrolled { padding-left: 60px; padding-right: 60px; }

  /* Subpages: slimmer navbar (homepage hero keeps the big logo) */
  .navbar--solid, .navbar--solid.is-scrolled { padding-top: 14px; padding-bottom: 14px; }
  .navbar--solid .navbar__logo { font-size: 1.6rem; gap: 12px; }
  .navbar--solid .navbar__logo-icon { height: 50px; }
  .page-header { padding-top: 140px; }
}

/* Compact stats in the Služby page header */
.stats--compact { max-width: 440px; margin-top: 40px; }
.stats--compact .stat__num, .stats--compact .stat__suffix { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.stats--compact .stat p { margin-top: 6px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Consent checkbox + privacy link */
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
}
.form__row .form__check { font-size: 0.85rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.form__check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--color-dark); flex-shrink: 0; }
.form__check a, .legal a { color: var(--color-accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.footer__privacy { color: inherit; text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; }
.footer__privacy:hover { color: var(--color-accent); }

/* Legal text page */
.legal { padding: 20px 0 120px; background: var(--color-light); }
.legal .section-inner { max-width: 760px; }
.legal h2 { font-size: 1.35rem; color: var(--color-dark); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--color-text); font-size: 0.97rem; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; }
.legal__draft { border: 1px dashed var(--color-accent-dark); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.9rem; color: var(--color-accent-dark); }

@keyframes heroNameIn { from { transform: translateY(28px); } }

/* Short desktop screens (small laptops, zoomed browser): compact homepage hero */
@media (min-width: 1025px) and (max-height: 700px) {
  body.no-scroll .navbar { padding-top: 16px; padding-bottom: 16px; }
  body.no-scroll .navbar__logo { font-size: 1.6rem; }
  body.no-scroll .navbar__logo-icon { height: 52px; }
  .hero { min-height: 0; }
  .hero__left { padding-top: 70px; }
  .hero__left-heading { font-size: 1.1rem; margin-bottom: 12px; }
  .hero__desc { font-size: 0.88rem; margin-bottom: 18px; }
  .hero__divider { margin-bottom: 16px; }
  .hero__services { gap: 8px; margin-bottom: 18px; }
  .hero__services li { padding-bottom: 8px; }
  .hero__headline { bottom: 50px; }
  .hero__headline h1 { font-size: clamp(2rem, 4vw, 3rem); }
}

/* Very short screens: nothing fits anymore, so let the homepage scroll instead of clipping */
@media (min-width: 1025px) and (max-height: 500px) {
  body.no-scroll { height: auto; overflow-y: auto; }
  .hero { min-height: 500px; }
}

/* Visitors who turned on "Reduce motion" in their OS: no animations, everything in place right away */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Desktop hero intro without layout shift (CLS)
   The left panel and the image are in their final place from the first paint.
   The "full-screen image shrinks to the right" effect is done only with
   clip-path (reveals the left panel) + transform (image scales down towards
   its right edge). Neither moves the layout, so Google's CLS stays at 0.
   Both use the same duration/easing, so the image always exactly fills the clip.
   ========================================================================== */
@media (min-width: 1025px) {
  .hero__left { width: 36%; transition: none; }

  .hero__image-wrap {
    position: absolute;
    inset: 12px;
    border-radius: 0;
    clip-path: inset(0 round var(--radius-lg));
    transition: clip-path 1s var(--ease) 0.2s;
  }
  body.loaded .hero__image-wrap { clip-path: inset(0 0 0 calc(36% + 12px) round var(--radius-lg)); }

  .hero__image {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(64% - 12px);
    height: 100%;
    transform-origin: right center;
    /* 1.6 ≈ full width / final image width, so at the start it covers the whole hero */
    transform: scale(1.6);
    transition: transform 1s var(--ease) 0.2s;
  }
  body.loaded .hero__image { transform: scale(1); }

  .hero__headline { left: calc(36% + 12px + 48px); }
}

/* 404 page */
.page-404 { min-height: 60vh; display: flex; align-items: center; }
.page-404 .section-inner { width: 100%; }
.page-404__actions { margin-top: 36px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.page-404 .hero__viewall { color: var(--color-accent-dark); }
