/* ==========================================================
   Kontessa s.r.o. – práčovňa Jarovce
   Farby: červená z loga, biela, grafitová
   ========================================================== */

:root {
  --red: #B43432;          /* farba loga */
  --red-deep: #8F2826;     /* hover, text na svetlom */
  --red-tint: #FBEEED;
  --leaf: #2E7D46;          /* zelená pre ekologické pranie */
  --leaf-deep: #1F5E33;
  --leaf-light: #7BD39A;    /* na tmavom pozadí */
  --leaf-tint: #EAF6EE;
  --ink: #1F2328;          /* grafit – text, tmavé sekcie */
  --ink-2: #2B3138;
  --ink-soft: #4F5862;     /* sekundárny text (7:1 na bielej) */
  --paper: #FFFFFF;
  --linen: #F3F4F2;        /* jemné pozadie sekcií */
  --line: #E1E4E1;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  /* typografická stupnica ~1.25 */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-hero: clamp(2.4rem, 1.5rem + 3.6vw, 4.1rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(31, 35, 40, .06), 0 12px 32px -12px rgba(31, 35, 40, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 114px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: var(--space-section); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* Miesta na doplnenie údajov – po doplnení triedu .todo zmažte */
.todo { background: repeating-linear-gradient(-45deg, #FFF4C2, #FFF4C2 6px, #FFEFA8 6px, #FFEFA8 12px); color: #5C4A00; padding: 0 .3em; border-radius: 4px; font-style: normal; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red-tint); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn-lg { min-height: 56px; font-size: 1.06rem; }
.btn-block { width: 100%; }

.text-link { color: var(--red-deep); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--red); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(31, 35, 40, .35); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand img { height: 94px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a {
  display: block; padding: .6rem .8rem; border-radius: 999px;
  text-decoration: none; font-weight: 500; color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); background: var(--linen); }
.main-nav a.is-active { color: var(--red-deep); }
.header-actions { display: flex; align-items: center; gap: .75rem; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  min-width: 40px; min-height: 36px; border: 0; border-radius: 999px; background: transparent;
  font: 600 .85rem var(--font-body); color: var(--ink-soft); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(4rem, 3rem + 4vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; z-index: 1; }
.hero-place { font-weight: 600; color: var(--red-deep); margin-bottom: 1rem; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; }
.hero-lead { font-size: var(--fs-md); color: var(--ink-soft); margin-top: 1.4rem; max-width: 34em; }
.hero-b2b {
  display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; max-width: 34em;
  padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--red-tint); border-left: 4px solid var(--red);
  font-size: 1.08rem; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.hero-b2b-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; }
.hero-b2b-icon svg { width: 24px; height: 24px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

.hero-visual { position: relative; width: 100%; max-width: 460px; justify-self: end; }
.hero-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); background: var(--linen); }
.leaf { width: 22px; height: 22px; flex: none; }
.hero-badge {
  position: absolute; left: -1.25rem; bottom: 2.5rem;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--paper); color: var(--ink); font-weight: 600;
  padding: .75rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow);
}
.hero-badge .leaf { color: var(--leaf); }

/* ťah štetcom (motív podčiarknutia z loga) */
.swoosh { color: var(--red); display: block; }
.hero-swoosh { position: absolute; left: -2%; right: -2%; bottom: 1.2rem; width: 104%; height: clamp(60px, 9vw, 140px); z-index: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-swoosh { clip-path: inset(0 100% 0 0); animation: draw 1.1s .25s var(--ease) forwards; }
  @keyframes draw { to { clip-path: inset(0 0 0 0); } }
}

/* ---------- Prínosy ---------- */
.perks { background: var(--ink); color: #fff; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 2.4rem; }
.perk { display: flex; gap: 1rem; align-items: flex-start; }
.perk-icon { flex: none; width: 30px; height: 30px; color: #F28A86; margin-top: 2px; }
.perk-icon--leaf { color: var(--leaf-light); }
.perk h2 { font-size: 1.1rem; font-weight: 650; margin-bottom: .3rem; }
.perk p { color: #C9CED4; font-size: .98rem; }

/* ---------- Spoločné nadpisy ---------- */
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: var(--fs-xl); font-weight: 800; }
.section-head p { margin-top: .9rem; color: var(--ink-soft); font-size: 1.1rem; }
.section-head--left { text-align: left; margin-inline: 0; }

/* ---------- Služby ---------- */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.service-card { grid-column: span 2; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--linen); }
.service-body { padding: 1.3rem 1.4rem 1.5rem; }
.service-body h3 { font-size: var(--fs-md); font-weight: 650; margin-bottom: .5rem; }
.service-body p { color: var(--ink-soft); }
.service-card--wide { grid-column: span 3; flex-direction: row; }
.service-card--wide img { width: 48%; aspect-ratio: auto; height: 100%; min-height: 240px; }
.service-card--wide .service-body { align-self: center; }
.service-card--eco { background: var(--leaf-deep); border-color: var(--leaf-deep); color: #fff; position: relative; overflow: hidden; }
.service-card--eco .service-body { padding: 2rem; }
.service-card--eco p { color: #DDF1E3; margin-bottom: 1.1rem; }
.service-card--eco::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 220px; height: 220px; opacity: .12; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5C11 3.5 4 8.6 4 15.6c0 1.4.3 2.7.8 3.8 1.6-5.7 5.6-9.6 10.7-11.4-4.4 2.7-7.6 6.6-9 11.7 1.3.6 2.8.9 4.3.9 6.4 0 9.7-6.3 9.7-17.1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5C11 3.5 4 8.6 4 15.6c0 1.4.3 2.7.8 3.8 1.6-5.7 5.6-9.6 10.7-11.4-4.4 2.7-7.6 6.6-9 11.7 1.3.6 2.8.9 4.3.9 6.4 0 9.7-6.3 9.7-17.1Z'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.service-card--eco .service-body { position: relative; z-index: 1; }
.service-card--eco .text-link { color: #fff; }
.eco-mark { width: 44px; height: 44px; margin-bottom: 1rem; color: var(--leaf-light); }

/* ---------- Ako to funguje ---------- */
.how { background: var(--linen); }
.steps-wrap { position: relative; }
.steps-swoosh { position: absolute; left: 4%; right: 4%; top: 6px; width: 92%; height: 46px; opacity: .9; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--red); color: var(--red-deep);
  font: 800 1.35rem var(--font-head); margin-bottom: 1.2rem;
}
.step:nth-child(2) .step-num { margin-top: -6px; }
.step:nth-child(3) .step-num { margin-top: -14px; }
.step:nth-child(4) .step-num { margin-top: -20px; }
.step h3 { font-size: 1.2rem; font-weight: 650; margin-bottom: .45rem; }
.step p { color: var(--ink-soft); }
.how-note {
  margin-top: 3.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: center; align-items: center; text-align: center;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 650; line-height: 1.3; color: var(--ink);
}
.how-note span { text-wrap: balance; }
.how-note .text-link { font-family: var(--font-body); font-size: 1rem; }

/* ---------- Stroje Miele ---------- */
.machines { background: var(--ink); color: #fff; }
.machines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.machines-kicker { color: #F28A86; font-weight: 600; margin-bottom: .9rem; }
.machines h2 { font-size: var(--fs-xl); font-weight: 800; max-width: 15ch; }
.machines-brand { display: block; width: clamp(200px, 20vw, 290px); height: auto; margin-top: .45em; border-radius: 6px; }
.machines-lead { margin-top: 1.3rem; font-size: 1.12rem; color: #C9CED4; max-width: 34em; }
.machines-partner { display: flex; align-items: center; gap: 1.1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid #3A414A; max-width: 34em; }
.machines-partner img { flex: none; width: 160px; height: auto; }
.machines-partner p { color: #E1E4E8; font-weight: 600; font-size: 1.02rem; }
.machines-list { display: grid; gap: 1rem; }
.machines-list li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem; border: 1px solid #3A414A; border-radius: var(--radius); background: var(--ink-2); }
.machines-list svg { flex: none; width: 30px; height: 30px; color: #F28A86; margin-top: 2px; }
.machines-list li:last-child svg { color: var(--leaf-light); }
.machines-list h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: .3rem; }
.machines-list p { color: #C9CED4; }

/* ---------- Eko ---------- */
.eco-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.eco-photo { margin: 0; }
.eco-photo img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: var(--radius-lg); background: var(--linen); }
.eco-copy h2 { font-size: var(--fs-xl); font-weight: 800; max-width: 16ch; }
.eco-lead { margin-top: 1rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.eco-list { margin-top: 2.2rem; display: grid; gap: 1.5rem; }
.eco-list li { padding-left: 1.4rem; border-left: 3px solid var(--leaf); }
.eco { background: linear-gradient(180deg, var(--paper) 0%, var(--leaf-tint) 100%); }
.eco-kicker { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--leaf-tint); color: var(--leaf); margin-bottom: 1.1rem; }
.eco-kicker .leaf { width: 30px; height: 30px; }
.eco-list h3 { font-size: 1.12rem; font-weight: 650; margin-bottom: .25rem; }
.eco-list p { color: var(--ink-soft); max-width: 38em; }

/* ---------- Pre firmy ---------- */
.b2b { background: var(--ink); color: #fff; }
.b2b-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.b2b h2 { font-size: var(--fs-xl); font-weight: 800; max-width: 14ch; }
.b2b-lead { margin-top: 1.1rem; font-size: 1.12rem; color: #C9CED4; max-width: 34em; }
.check-list { margin: 2rem 0 2.2rem; display: grid; gap: .85rem; }
.check-list li { position: relative; padding-left: 2.1rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.b2b-side img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; border-radius: var(--radius); background: var(--ink-2); }
.b2b-for { margin: 1.5rem 0 .8rem; color: #C9CED4; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .9rem; border: 1px solid #48505A; border-radius: 999px; font-size: .95rem; color: #E8EAED; }

/* ---------- Kde zvážame ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.area-copy h2 { font-size: var(--fs-xl); font-weight: 800; }
.area-copy > p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 34em; }
.area-check { margin-top: 2rem; }
.area-check label { display: block; font-weight: 600; margin-bottom: .5rem; }
.area-check-row { display: flex; gap: .6rem; }
.area-check-row input { flex: 1; }
.area-result { margin-top: .8rem; min-height: 1.6em; font-weight: 600; }
.area-result.is-yes { color: #1C6B3A; }
.area-result.is-maybe { color: var(--red-deep); }

.area-private { margin-top: 1rem; padding: .85rem 1rem; background: var(--linen); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; max-width: 34em; }
.area-side { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.area-side-title { font-family: var(--font-head); font-weight: 650; font-size: 1.2rem; margin-bottom: 1rem; }
.district-list { columns: 2; column-gap: 2rem; }
.district-list li { break-inside: avoid; padding: .5rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.district-list li.is-home { color: var(--red-deep); font-weight: 700; }
.district-list li.is-home span { font-weight: 500; font-size: .85rem; color: var(--ink-soft); margin-left: .35rem; }
.area-outside { margin-top: 1rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: var(--linen); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .section-head a { color: var(--ink); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; position: relative;
  font-family: var(--font-head); font-weight: 650; font-size: 1.15rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--red-deep); }
.faq-list details p { padding: 0 3rem 1.35rem 0; color: var(--ink-soft); max-width: 40em; }

/* ---------- Objednávka ---------- */
.order { background: var(--red-tint); }
.order-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.order-copy h2 { font-size: var(--fs-xl); font-weight: 800; }
.order-copy > p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.order-copy > p.order-private { font-size: 1rem; color: var(--ink); background: rgba(255,255,255,.7); padding: .85rem 1rem; border-radius: var(--radius-sm); }
.order-phone { margin-top: 2rem; }
.order-phone p { color: var(--ink-soft); }
.phone-big { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; text-decoration: none; color: var(--red-deep); }

.order-form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label, fieldset legend { font-weight: 600; font-size: .95rem; }
.req { color: var(--red); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: 400 1rem var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #C7CCD1; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 96px; }
input:hover, select:hover, textarea:hover { border-color: #9AA2AA; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 52, 50, .2); }
.field-error { display: none; color: #A3231F; font-size: .9rem; font-weight: 500; }
.is-invalid .field-error, .field-error.is-shown { display: block; }
.is-invalid input, .is-invalid select { border-color: #A3231F; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: .5rem; }
.segmented { display: flex; flex-wrap: wrap; gap: .5rem; }
.segmented legend { width: 100%; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: inline-block; padding: .6rem 1.2rem; min-height: 44px; border: 1.5px solid #C7CCD1; border-radius: 999px; font-weight: 600; transition: all .15s; }
.segmented input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.checks legend { grid-column: 1 / -1; }
.checks label, .consent { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; min-height: 32px; }
.checks input, .consent input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--red); flex: none; }
.consent { font-size: .95rem; color: var(--ink-soft); }
.consent a { color: var(--red-deep); font-weight: 600; }

.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.is-ok { color: #1C6B3A; }
.form-status.is-error { color: #A3231F; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.5rem; align-items: stretch; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); }
.contact-card h2 { font-size: var(--fs-lg); font-weight: 800; }
.contact-card address { font-style: normal; margin-top: 1.2rem; color: #E1E4E8; line-height: 1.7; }
.contact-links { margin-top: 1rem; line-height: 2; }
.contact-links a { color: #fff; font-weight: 600; }
.contact-card h3 { margin-top: 1.8rem; font-size: 1.1rem; font-weight: 650; }
.hours { width: 100%; border-collapse: collapse; margin: .6rem 0 1.8rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid #3A414A; text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.contact-card .btn-ghost { border-color: #fff; color: #fff; }
.contact-card .btn-ghost:hover { background: #fff; color: var(--ink); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--linen); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Pätička ---------- */
.site-footer { background: var(--ink); color: #C9CED4; padding-top: 4rem; }
.contact + .site-footer, .site-footer { border-top: 6px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 30em; font-size: .97rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: #C9CED4; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.4rem; border-top: 1px solid #3A414A; font-size: .9rem; }
.footer-legal p:last-child { margin-left: auto; }

/* ---------- Mobilná lišta ---------- */
.mobile-bar { display: none; }

/* ==========================================================
   Responzívne
   ========================================================== */
@media (max-width: 1080px) {
  .main-nav a { padding: .55rem .55rem; font-size: .95rem; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 86px; }
  .brand img { height: 66px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(31, 35, 40, .4);
    display: none; margin: 0;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: .75rem 1.25rem 1.25rem; }
  .main-nav a { padding: .85rem .5rem; font-size: 1.05rem; border-radius: 8px; }
  .header-actions { margin-left: auto; }

  .hero-grid, .machines-grid, .eco-grid, .b2b-grid, .area-grid, .faq-grid, .order-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-badge { left: auto; right: 1rem; bottom: 1rem; }
  .perks-grid { grid-template-columns: 1fr; gap: 1.4rem; }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card--wide { grid-column: span 1; flex-direction: column; }
  .service-card--wide img { width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .service-card--eco { grid-column: 1 / -1; }

  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .steps-swoosh { display: none; }
  .step .step-num { margin-top: 0 !important; }

  .eco-photo img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  body { padding-bottom: 76px; }
}

@media (max-width: 600px) {
  .lang-switch button { min-width: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-row, .form-row--3, .checks { grid-template-columns: 1fr; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .area-check-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal p:last-child { margin-left: 0; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* telefónne číslo sa nikdy nezalomí */
a[data-phone], a[href^="tel:"] { white-space: nowrap; }
