/* Drábiková & partners – farby a písmo podľa Dizajn manuálu */
:root {
  --camel: #9e8858;
  --camel-deep: #7a6a43;   /* tmavší odtieň pre text a tlačidlá (čitateľnosť) */
  --dust: #e6d8d5;
  --dust-soft: #f3ecea;
  --shadow: #282726;
  --snow: #f7f7f7;
  --eggshell: #efe8d8;
  --taupe: #b58c85;
  --alabaster: #e5e5e5;
  --white: #fff;
  --muted: #5d5a55;
  --line: #ded3cf;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: 24px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--shadow);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--camel-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2 { font-weight: 300; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); }
h3, .h3 { font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); text-transform: none; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: 1.125rem; color: var(--shadow); max-width: 56ch; }
.lead p:last-child { margin-bottom: 0; }
.lead a { color: var(--camel-deep); }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--shadow); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

.ico { width: 10px; height: 10px; flex: none; transition: transform 0.3s var(--ease); }
.ico-r { width: 25px; height: 9px; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit; font-weight: 500; font-size: 0.875rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-sm { padding: 10px 20px; font-size: 0.8125rem; }
.btn-primary { background: var(--camel-deep); color: #fff; }
.btn-primary:hover { background: var(--shadow); }
.btn-outline { border-color: var(--shadow); color: var(--shadow); background: transparent; }
.btn-outline:hover, a:hover > .post-card-body .btn-outline { background: var(--shadow); color: #fff; }
.btn-light { background: #fff; color: var(--shadow); }
.btn:hover .ico, a:hover .btn .ico, .link-more:hover .ico { transform: translate(2px, -2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--camel-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}

.tag {
  display: inline-block; margin-bottom: 20px;
  padding: 6px 16px; border-radius: 999px;
  background: #fff; color: var(--camel-deep);
  font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand img { width: 138px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; background: var(--dust-soft); border-radius: 999px; padding: 6px 8px; }
.nav a, .nav button {
  font: inherit; font-weight: 400; font-size: 0.9375rem; color: var(--shadow);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 9px 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { background: #fff; }
.nav .nav-lang { margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--line); border-radius: 0 999px 999px 0; font-weight: 500; }
.chev { width: 10px; height: 6px; }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; left: 0; top: calc(100% + 10px); min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px; display: grid;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 18px 40px -24px rgba(40, 39, 38, 0.4);
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu a { border-radius: 10px; }
.nav-drop-menu a:hover { background: var(--dust-soft); }

.nav-mobile { display: none; }
.nav-mobile summary { list-style: none; cursor: pointer; font-weight: 500; padding: 10px 20px; border-radius: 999px; background: var(--dust-soft); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 4px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px; display: grid; gap: 2px;
  box-shadow: 0 24px 50px -28px rgba(40, 39, 38, 0.45);
}
.nav-mobile nav a { text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 400; }
.nav-mobile nav a:hover { background: var(--dust-soft); }
.nav-label { padding: 12px 14px 2px; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--camel-deep); font-weight: 500; }
.nav-sub { display: grid; padding-left: 12px; }

/* ---------- Úvod (hero) + rozcestník ---------- */
.hero { padding: 28px 0 88px; background: linear-gradient(180deg, var(--dust-soft) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-bottom: 28px; }
.hero h1 { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero h1 span:first-child { color: var(--camel-deep); }
.hero .lead { margin-bottom: 32px; }
.hero-media { border-radius: var(--radius); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; }

.router { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.route { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.route img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform 1.2s var(--ease); }
.route::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 39, 38, 0.72) 0%, rgba(40, 39, 38, 0.25) 60%, rgba(40, 39, 38, 0.1) 100%); z-index: 1; transition: background-color 0.4s ease; }
.route:hover img { transform: scale(1.05); }
.route-body { position: absolute; inset: 0; z-index: 2; padding: 32px 36px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 18px; }
.route-body h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; }

/* ---------- Sekcie ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--dust-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin: 18px 0 0; max-width: 34ch; }
.section h2 { margin-bottom: 40px; }

/* Naša advokátska kancelária */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.about-media { position: relative; padding-bottom: 26%; }
.about-photo { width: 82%; }
.about-photo img { width: 100%; }
.about-city { position: absolute; right: 0; bottom: 0; width: 56%; margin: 0; }
.about-city img { width: 100%; }
.about-lead { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; font-weight: 400; margin-bottom: 28px; }
.about-copy .btn { margin-top: 12px; }

/* Oblasti práva */
.areas { display: grid; grid-template-columns: minmax(280px, 0.47fr) 1fr; }
.areas-title { position: relative; background: var(--taupe); color: #fff; padding: 88px 48px; overflow: hidden; display: flex; justify-content: flex-end; }
.areas-title h2 { position: relative; width: 100%; max-width: 300px; }
.areas-amp { position: absolute; left: -8%; bottom: -6%; width: 96%; opacity: 0.28; pointer-events: none; }
.areas-body { background: var(--eggshell); padding: 88px 48px; display: grid; gap: 72px; }
.areas-body > * { max-width: 820px; }
.area { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 40px; scroll-margin-top: 130px; }
.area-head h3 { font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); text-transform: uppercase; margin-bottom: 28px; }
.area-list li { border-bottom: 1px solid rgba(40, 39, 38, 0.28); }
.area-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; text-decoration: none; font-weight: 400; transition: color 0.25s ease, padding 0.35s var(--ease); }
.area-list a:hover { color: var(--camel-deep); padding-left: 8px; }
.area-list a:hover .ico { transform: translateX(4px); }

/* Tím */
.team .section-head { margin-bottom: 40px; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--shadow); background: transparent; color: var(--shadow); cursor: pointer; display: grid; place-items: center; transition: background-color 0.25s ease, color 0.25s ease; }
.carousel-btn:hover { background: var(--shadow); color: #fff; }
.carousel-btn[data-dir="-1"] .ico { transform: rotate(180deg); }
.team-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 12px;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card { position: relative; flex: 0 0 min(320px, 78vw); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--dust); }
.team-card img { width: 100%; aspect-ratio: 585 / 711; object-fit: cover; transition: transform 1.2s var(--ease); }
.team-card:hover img { transform: scale(1.04); }
.team-card-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 24px 22px; color: #fff; background: linear-gradient(180deg, rgba(38, 35, 29, 0) 0%, rgba(38, 35, 29, 0.82) 62%); }
.team-card-info h3 { font-weight: 400; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.team-role { font-size: 0.9375rem; margin: 2px 0 12px; opacity: 0.9; }
.team-contact { font-size: 0.875rem; margin: 0; line-height: 1.5; }
.team-contact a { text-decoration: none; }
.team-contact a:hover { text-decoration: underline; }

/* Články */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.post-grid-2 { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card-img { border-radius: var(--radius-sm); overflow: hidden; background: var(--dust-soft); }
.post-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card a:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 18px 2px 0; }
.post-card-date { font-size: 0.8125rem; color: var(--camel-deep); font-weight: 400; margin-bottom: 8px; }
.post-card h3 { font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--camel-deep); margin-bottom: 10px; }
.post-card-excerpt { font-size: 0.9375rem; color: var(--muted); line-height: 1.55; margin-bottom: 20px; }
.post-card .btn { margin-top: auto; }

/* ---------- Úvod podstránok ---------- */
.page-hero { background: var(--dust-soft); padding: 64px 0 72px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.page-hero-plain .page-hero-grid { grid-template-columns: 1fr; }
.page-hero h1 { color: var(--camel-deep); margin-bottom: 24px; overflow-wrap: anywhere; }
.page-hero .lead + div, .page-hero .lead + .rv { margin-top: 28px; }
.page-hero-media { border-radius: var(--radius); overflow: hidden; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-duo { position: relative; overflow: visible; padding: 0 0 48px 56px; }
.media-duo img:first-child { border-radius: var(--radius); aspect-ratio: 4 / 4.4; object-position: 50% 15%; }
.media-duo img:last-child { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); border: 6px solid var(--dust-soft); }

/* O nás */
.onas-intro .lead { max-width: 74ch; }
.quote { position: relative; padding-left: 76px; }
.quote::before { content: ""; position: absolute; left: 0; top: 6px; width: 48px; height: 36px; background: url("uploads/2026/04/brown-quotes.svg") no-repeat center / contain; }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.why-big { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; font-weight: 400; }
.why-copy .btn { margin-top: 16px; }
.why-media { border-radius: var(--radius); overflow: hidden; }
.why-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.practice { background: #fff; border-radius: var(--radius); padding: 44px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.practice-img { margin: -44px -40px 32px; align-self: stretch; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.practice-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform 1.2s var(--ease); }
.practice:hover .practice-img img { transform: scale(1.04); }
.onas-hero { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.onas-media img { aspect-ratio: 1 / 1; object-position: 50% 22%; }
.service-photo { margin-top: 32px; border-radius: var(--radius); overflow: hidden; }
.service-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.practice h3 { text-transform: uppercase; font-weight: 400; margin-bottom: 20px; }
.practice p { margin-bottom: 28px; }
.practice u { text-decoration-color: var(--camel); text-underline-offset: 4px; font-weight: 400; }
.practice .btn { margin-top: auto; }

/* Služby */
.service-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.service-grid h2 { margin-bottom: 28px; }
.service-list li { padding: 18px 0 18px 34px; border-bottom: 1px solid var(--line); position: relative; font-weight: 400; font-size: 1.125rem; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 1.7em; width: 18px; height: 1px; background: var(--camel); }
.section-tint .area-list li { border-bottom-color: rgba(40, 39, 38, 0.22); }

/* Formuláre */
.ask-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ask-grid h2 { margin-bottom: 20px; }
.form-card { background: var(--dust-soft); border-radius: var(--radius); padding: 44px 40px; }
.form-card h2 { margin-bottom: 28px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 400; font-size: 0.9375rem; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  display: block; margin-top: 8px;
  width: 100%; font: inherit; font-weight: 300; color: var(--shadow);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  transition: border-color 0.25s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--camel-deep); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 300; }
.form .check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--camel-deep); flex: none; }
.form .check a { color: var(--camel-deep); }
.form .btn { justify-self: start; margin-top: 6px; }

/* Kontakt */
.contact-list { margin: 0 0 40px; display: grid; gap: 28px; }
.contact-list dt, .footer-title { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--camel-deep); margin: 0 0 6px; }
.contact-list dd { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 400; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--camel); padding-bottom: 2px; }
.socials { display: flex; gap: 12px; margin-top: 12px; }
.social { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color 0.25s ease; }
.social:hover { background: var(--dust-soft); }
.map { position: relative; }
.map > img { width: 100%; min-height: 380px; object-fit: cover; }
.map .container { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.map-card { pointer-events: auto; background: #fff; border-radius: var(--radius); padding: 32px 36px; max-width: 380px; box-shadow: 0 24px 50px -30px rgba(40, 39, 38, 0.5); }
.map-card .btn { margin-top: 12px; }

/* Videá */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.video { border-radius: var(--radius); overflow: hidden; background: var(--shadow); aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Text článku */
.prose { max-width: 780px; margin: 0 auto; font-size: 1.125rem; line-height: 1.75; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { text-transform: none; font-weight: 500; letter-spacing: 0; line-height: 1.3; margin-top: 2em; color: var(--shadow); }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.125rem; }
.prose strong, .prose b { font-weight: 500; }
.prose a { color: var(--camel-deep); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 28px; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 14px; height: 1px; background: var(--camel); }
.prose li + li { margin-top: 0.5em; }
.prose ul + ul { margin-top: 0.5em; }
.prose img { border-radius: var(--radius-sm); margin: 0 auto; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-size: 0.875rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--camel); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--dust-soft); font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-back { max-width: 780px; margin: 56px auto 0; }

/* ---------- Pätička ---------- */
.site-footer { position: relative; background: var(--dust-soft); padding: 80px 0 36px; overflow: hidden; }
.site-footer::after { content: ""; position: absolute; right: -4%; bottom: -18%; width: min(46vw, 620px); aspect-ratio: 900 / 674; background: url("uploads/2026/02/bg.svg") no-repeat center / contain; opacity: 0.55; pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 56px; }
.footer-brand { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.footer-brand img { width: 190px; }
.footer-brand p { margin: 0; }
.footer-contact dl { margin: 0; display: grid; gap: 4px; }
.footer-contact dt { font-weight: 500; margin-top: 12px; }
.footer-contact dd { margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 40px; margin-bottom: 56px; }
.footer-col li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-social .footer-title { margin: 0; }
.footer-social .socials { margin-top: 0; }
.copyright { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); text-align: center; }

/* ---------- Animácie (jemné, bez pohybujúceho sa textu) ---------- */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.is-in { opacity: 1; transform: none; }
html.js .rv-img, html.js .rv-img-self { opacity: 0; transition: opacity 1.1s ease; }
html.js .rv-img.is-in, html.js .rv-img-self.is-in { opacity: 1; }
html.js .hero-media.rv-img img, html.js .page-hero-media.rv-img img, html.js .why-media.rv-img img { transform: scale(1.05); transition: transform 1.8s var(--ease); }
html.js .hero-media.rv-img.is-in img, html.js .page-hero-media.rv-img.is-in img, html.js .why-media.rv-img.is-in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv, html.js .rv-img, html.js .rv-img-self { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Responzívne ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav-mobile { display: block; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: 1fr; }
  .areas-title { padding: 64px var(--gutter); justify-content: flex-start; }
  .areas-amp { width: 60%; left: auto; right: -6%; }
  .areas-body { padding: 64px var(--gutter); }
}

@media (max-width: 860px) {
  .hero-grid, .about-grid, .page-hero-grid, .why-grid, .practice-grid, .service-grid, .ask-grid, .contact-grid, .video-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-bottom: 64px; }
  .hero-grid { margin-bottom: 32px; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .area { grid-template-columns: 1fr; gap: 20px; }
  .page-hero { padding: 48px 0 56px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .map .container { position: static; padding-top: 24px; padding-bottom: 8px; }
  .map-card { max-width: none; box-shadow: none; background: var(--dust-soft); }
  .map > img { min-height: 240px; }
  .media-duo { padding-left: 32px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --radius: 18px; }
  body { font-size: 1rem; }
  .header-inner { min-height: 76px; }
  .brand img { width: 116px; }
  .router { grid-template-columns: 1fr; gap: 16px; }
  .route img { aspect-ratio: 16 / 9; }
  .route-body { padding: 22px; }
  .post-grid, .post-grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card, .practice { padding: 30px 22px; }
  .practice-img { margin: -30px -22px 24px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-brand { gap: 24px; }
  .quote { padding-left: 0; padding-top: 52px; }
  .quote::before { top: 0; }
  .prose { font-size: 1.0625rem; }
  .carousel-nav { display: none; }
}

/* ================= Superstar: prvky z jadra na webe ================= */

/* Prepínač jazyka (i18n_switcher) */
.langsw { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--line); }
.langsw__opt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; font-weight: 500; font-size: 0.875rem; text-decoration: none; color: var(--shadow); }
.langsw__opt.is-active { background: #fff; }
.langsw__opt:hover { background: #fff; }
.langsw svg, .langsw .langflag { width: 18px; height: 12px; border-radius: 2px; }
.nav-mobile .langsw { margin: 8px 14px 4px; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line); }

/* Formuláre */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 0.9375rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--camel-deep); }
.form-status.is-error { color: #a33a2c; }
.form button[disabled] { opacity: 0.6; cursor: wait; }
.practice-sub { text-decoration: underline; text-decoration-color: var(--camel); text-underline-offset: 4px; font-weight: 400; margin-bottom: 6px; }

/* Stránkovanie blogu */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pager span[aria-current] { background: var(--shadow); color: #fff; border-color: var(--shadow); }

/* Náhľad článku z administrácie */
.previewbar { background: var(--eggshell); padding: 12px var(--gutter); text-align: center; font-size: 0.9375rem; }

/* Video z YouTube po kliknutí (youtube_facade) */
.quote__video { position: relative; width: 100%; height: 100%; aspect-ratio: 16 / 9; background: var(--shadow); overflow: hidden; border-radius: inherit; }
.quote__video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s ease; }
.quote__video:hover img { opacity: 1; }
.quote__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.quote__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--shadow); border: 0; cursor: pointer; display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.quote__play:hover { transform: scale(1.06); }
.quote__play svg { width: 26px; height: 26px; margin-left: 4px; }
.quote__badge { position: absolute; left: 16px; bottom: 16px; background: rgba(40, 39, 38, 0.75); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; }
.video .quote__video { aspect-ratio: auto; }

/* Lišta súhlasu s cookies (consent_bar) */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; display: flex; justify-content: center; }
.cc[hidden] { display: none; }
.cc__panel { width: 100%; max-width: 980px; background: #fff; border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(40, 39, 38, 0.55); border: 1px solid var(--line); padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cc__title { font-size: 1.125rem; font-weight: 500; text-transform: none; letter-spacing: 0; margin: 0 0 8px; }
.cc__text { font-size: 0.9375rem; margin: 0; color: var(--muted); }
.cc__text a, .cc__link { color: var(--camel-deep); }
.cc__link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.cc__cats { display: grid; gap: 12px; margin-top: 16px; }
.cc__cat { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; }
.cc__cat input { margin-top: 4px; accent-color: var(--camel-deep); }
.cc__cat strong { display: block; font-weight: 500; }
.cc__actions { display: flex; flex-direction: column; gap: 10px; }
.btn--primary { background: var(--camel-deep); color: #fff; justify-content: center; }
.btn--primary:hover { background: var(--shadow); }
.btn--outline { border-color: var(--shadow); color: var(--shadow); background: transparent; justify-content: center; }
.btn--outline:hover { background: var(--shadow); color: #fff; }
.cc__btn svg { width: 12px; height: 12px; }

/* Oznamy (notice_bar, notice_popup) */
.noticebar { background: var(--shadow); color: #fff; font-size: 0.9375rem; }
.noticebar__in { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.noticebar__text { margin: 0; }
.noticebar__link { color: var(--eggshell); }
.noticebar__close { background: none; border: 0; color: #fff; cursor: pointer; font-size: 1.2rem; }
.popup { position: fixed; inset: 0; z-index: 310; display: grid; place-items: center; padding: 16px; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(40, 39, 38, 0.55); }
.popup__box { position: relative; background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; overflow: hidden; }
.popup__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.popup__body { padding: 28px; }
.popup__title { font-size: 1.4rem; margin-bottom: 12px; }
.popup__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; cursor: pointer; z-index: 1; }

@media (max-width: 860px) {
  .cc__panel { grid-template-columns: 1fr; padding: 22px; }
  .cc__actions { flex-direction: row; flex-wrap: wrap; }
  .cc__actions .btn { flex: 1 1 140px; }
}

/* atribút hidden musí mať prednosť pred display z tried (lišta cookies: podrobnosti, Uložiť voľbu) */
.cc [hidden], .popup[hidden], .noticebar[hidden] { display: none !important; }

/* ===================================================================
   Úpravy podľa agropoistenie.sk: slider, pätička, blog s bočným panelom,
   videá, ampersandy
   =================================================================== */

/* „&“ ako dekorácia: farbí sa cez masku, aby sedel na svetlom aj tmavom pozadí */
.amp-deco, .page-hero::before, .team::before, .cta-band::before, .site-footer::before, .videos::before, .contact-grid::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  -webkit-mask: url("uploads/2026/02/bg.svg") no-repeat center / contain;
          mask: url("uploads/2026/02/bg.svg") no-repeat center / contain;
  aspect-ratio: 900 / 674;
}
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { width: min(520px, 46vw); right: -6%; bottom: -14%; background: #e9dcd8; opacity: 0.75; }
.page-hero .container { position: relative; z-index: 1; }
.team { position: relative; overflow: hidden; }
.team::before { width: min(420px, 40vw); left: -8%; top: 8%; background: var(--dust); opacity: 0.45; }
.team > * { position: relative; z-index: 1; }
.contact-grid { position: relative; }
.contact-grid::before { width: 340px; left: -120px; bottom: -60px; background: var(--dust); opacity: 0.4; }
.contact-grid > * { position: relative; z-index: 1; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--shadow); }

/* ---------- Slider ---------- */
.slider { position: relative; min-height: min(86vh, 760px); background: var(--shadow); color: #fff; overflow: hidden; display: grid; }
.slider-track { position: relative; display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.06); transition: transform 8s ease-out; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 28, 26, 0.86) 0%, rgba(30, 28, 26, 0.62) 45%, rgba(30, 28, 26, 0.2) 100%); }
/* ampersand je v štítku snímky (.slide-tag::before), nie cez fotku */
.slide-inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 170px; }
.slide-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; }
.slide-tag::before { content: "&"; font-family: Georgia, serif; font-size: 1rem; color: var(--dust); letter-spacing: 0; }
.slide-title { font-weight: 300; text-transform: uppercase; font-size: clamp(1.9rem, 3.9vw, 3.3rem); line-height: 1.1; letter-spacing: 0.01em; max-width: 21ch; margin: 0 0 24px; }
.slide-title span { display: block; }
.slide-title mark { display: inline; background: none; color: #fff; box-shadow: inset 0 -0.18em 0 var(--camel); padding: 0 2px; }
.slide-sub { font-size: 1.125rem; max-width: 52ch; color: rgba(255, 255, 255, 0.88); margin-bottom: 32px; }
.slide-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.slide-btns .btn-primary { background: var(--camel); }
.slide-btns .btn-primary:hover { background: #fff; color: var(--shadow); }
.slide .slide-tag, .slide .slide-title, .slide .slide-sub, .slide .slide-btns { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s var(--ease); }
.slide.is-active .slide-tag { opacity: 1; transform: none; transition-delay: 0.15s; }
.slide.is-active .slide-title { opacity: 1; transform: none; transition-delay: 0.3s; }
.slide.is-active .slide-sub { opacity: 1; transform: none; transition-delay: 0.45s; }
.slide.is-active .slide-btns { opacity: 1; transform: none; transition-delay: 0.6s; }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 118px; z-index: 3; display: flex; align-items: center; gap: 20px; }
.slider-bars { display: flex; gap: 8px; }
.slider-bar { width: 56px; height: 3px; padding: 8px 0; background: none; border: 0; cursor: pointer; position: relative; }
.slider-bar::before, .slider-bar span { content: ""; position: absolute; left: 0; top: 8px; height: 3px; border-radius: 3px; }
.slider-bar::before { right: 0; background: rgba(255, 255, 255, 0.3); }
.slider-bar span { width: 0; background: #fff; }
.slider-bar.is-done span { width: 100%; }
.slider-bar.is-active span { animation: sliderFill linear forwards; }
.slider.is-paused .slider-bar.is-active span, .slider.is-static .slider-bar.is-active span { animation-play-state: paused; }
.slider.is-static .slider-bar.is-active span { width: 100%; animation: none; }
@keyframes sliderFill { from { width: 0; } to { width: 100%; } }
.slider-count { margin: 0; font-size: 0.875rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.8); }
.slider-count span { color: #fff; font-weight: 500; }

/* Rozcestník prekrýva spodok slidera */
.router-band { position: relative; z-index: 4; margin-top: -92px; padding-bottom: 24px; }
.router-band .route { box-shadow: 0 24px 50px -28px rgba(40, 39, 38, 0.6); }
.router-band .route img { aspect-ratio: 16 / 6; }

/* ---------- Tím: jedna šípka ---------- */
.carousel-btn { width: 56px; height: 56px; }

/* ---------- Blog ---------- */
.post-card.is-hidden { display: none; }
.more-wrap { display: flex; justify-content: center; margin-top: 48px; }
.li-card { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 20px 14px 14px; background: #fff; border-radius: 16px; text-decoration: none; box-shadow: 0 18px 40px -30px rgba(40, 39, 38, 0.6); transition: transform 0.3s var(--ease); }
.li-card:hover { transform: translateY(-2px); }
.li-ico { width: 44px; height: 44px; border-radius: 12px; background: #0a66c2; color: #fff; display: grid; place-items: center; }
.li-ico svg { width: 20px; height: 20px; }
.li-card strong { display: block; font-weight: 500; }
.li-card small { color: var(--muted); font-size: 0.875rem; }

/* Článok: tmavá hlavička s fotkou */
.post-hero { position: relative; background: var(--shadow); color: #fff; overflow: hidden; }
.post-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 39, 38, 0.35), rgba(40, 39, 38, 0.85)); }
.post-hero-inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.post-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.9rem); max-width: 26ch; text-transform: none; font-weight: 400; line-height: 1.18; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 22px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.875rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 14px; }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--camel); color: #fff; font-weight: 500; font-size: 0.8125rem; }
.post-section { padding-top: 64px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.post-main .prose { margin: 0; max-width: none; }
.post-lead { font-size: 1.25rem; line-height: 1.6; font-weight: 400; border-left: 3px solid var(--camel); padding: 6px 0 6px 22px; margin-bottom: 36px; }
.post-video { margin-bottom: 32px; border-radius: var(--radius-sm); overflow: hidden; }
.post-back { margin: 48px 0 0; }

/* Bočný panel */
.sidebar { position: sticky; top: 112px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-title { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--camel-deep); margin: 0 0 14px; }
.side-links, .side-posts, .side-social { display: grid; gap: 6px; }
.side-links a, .side-social a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; text-decoration: none; transition: background-color 0.25s ease; }
.side-links a:hover, .side-social a:hover { background: var(--dust-soft); }
.side-ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--dust-soft); color: var(--camel-deep); display: grid; place-items: center; }
.side-ico svg { width: 18px; height: 18px; }
.side-links strong { display: block; font-weight: 500; font-size: 0.9375rem; }
.side-links small { color: var(--muted); font-size: 0.8125rem; }
.side-posts a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; font-size: 0.9375rem; font-weight: 400; line-height: 1.35; }
.side-posts a:hover { background: var(--dust-soft); }
.side-posts img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; }
.side-posts small { display: block; color: var(--camel-deep); font-size: 0.75rem; margin-bottom: 2px; }
.side-cta { background: var(--shadow); color: #fff; border: 0; position: relative; overflow: hidden; }
.side-cta .side-title { color: var(--dust); }
.side-cta p { color: rgba(255, 255, 255, 0.85); font-size: 0.9375rem; }
.side-cta-mail { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 0.875rem; }
.side-cta-mail svg { width: 16px; height: 16px; }
.side-cta-mail a { color: #fff; }

/* ---------- Videá ---------- */
.videos { position: relative; overflow: hidden; }
.videos::before { width: 460px; right: -140px; top: 120px; background: var(--dust); opacity: 0.35; }
.videos .container { position: relative; z-index: 1; display: grid; gap: 88px; }
.video-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.video-row.is-flip .video { order: 2; }
.video-row .video { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -36px rgba(40, 39, 38, 0.6); }
.video-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted); margin-bottom: 14px; }
.video-text h2 { margin-bottom: 16px; }
.video-text p { color: var(--muted); }

/* ---------- Výzva nad pätičkou ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--dust); padding: 72px 0; }
.cta-band::before { width: 380px; right: 4%; top: -60px; background: #fff; opacity: 0.5; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 52ch; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: var(--shadow); color: var(--shadow); }
.cta-band .btn-ghost:hover { background: var(--shadow); color: #fff; }

/* ---------- Pätička (tmavá) ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--shadow); color: #d9d4cf; padding: 80px 0 32px; }
.site-footer::after { display: none; }
.site-footer::before { width: min(620px, 50vw); right: -6%; bottom: -10%; background: #fff; opacity: 0.045; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-logo img { width: 150px; margin-bottom: 20px; }
.footer-about p { font-size: 0.9375rem; max-width: 30ch; }
.footer-soc { display: flex; gap: 10px; margin-top: 20px; }
.footer-soc a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); display: grid; place-items: center; transition: background-color 0.25s ease; }
.footer-soc a:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }
.footer-soc svg { width: 17px; height: 17px; }
.site-footer .footer-title { color: var(--dust); margin-bottom: 16px; }
.footer-title-2 { margin-top: 28px !important; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col li { font-size: 0.9375rem; }
.footer-col a { color: #d9d4cf; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li > svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--camel); }
.footer-contact small { display: block; color: #a8a29b; font-size: 0.8125rem; }
.footer-contact a { color: #fff; overflow-wrap: anywhere; }
.footer-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.875rem; color: #e8e3de; }
.footer-chips a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.8125rem; color: #a8a29b; }
.footer-legal p { margin: 0; }
.site-footer .copyright { border: 0; padding: 0; color: #a8a29b; text-align: left; }

/* ---------- Responzívne pre nové časti ---------- */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .slider { min-height: 640px; }
  .slide-inner { padding-top: 72px; padding-bottom: 150px; }
  .slider-ui { bottom: 104px; }
  .video-row, .video-row.is-flip { grid-template-columns: 1fr; gap: 24px; }
  .video-row.is-flip .video { order: 0; }
  .videos .container { gap: 64px; }
}
@media (max-width: 600px) {
  .slider { min-height: 600px; }
  .slide::after { background: linear-gradient(180deg, rgba(30, 28, 26, 0.55) 0%, rgba(30, 28, 26, 0.88) 70%); }
  .slide-inner { padding-top: 56px; padding-bottom: 130px; }
  .slide-sub { font-size: 1rem; }
  .slider-ui { bottom: 92px; }
  .slider-bar { width: 40px; }
  .router-band { margin-top: -72px; }
  .router-band .route img { aspect-ratio: 16 / 9; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 56px 0; }
  .page-hero::before { width: 70vw; right: -20%; bottom: -6%; }
}

/* náhľad videa vždy vyplní rámik 16:9 (staršie videá majú náhľad 4:3 s pásmi) */
.video-row .quote__video { position: absolute; inset: 0; }
.video-row .video { position: relative; }
.video-row .quote__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Autor webu v pätičke (ako na agropoistenie.sk) */
.footer-author { margin: 14px 0 0; text-align: right; font-size: 0.8125rem; color: #a8a29b; }
.footer-author a { color: #fff; font-weight: 500; }
@media (max-width: 600px) { .footer-author { text-align: left; } }

/* Slider: jedna pevná fotka, menia sa iba texty */
.slider-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: 0; }
.slider::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(30, 28, 26, 0.86) 0%, rgba(30, 28, 26, 0.62) 45%, rgba(30, 28, 26, 0.2) 100%); }
.slider-track { z-index: 2; }
.slide::after { display: none; }
.slide { transition: opacity 0.7s ease, visibility 0.7s; }
@media (max-width: 600px) {
  .slider::after { background: linear-gradient(180deg, rgba(30, 28, 26, 0.55) 0%, rgba(30, 28, 26, 0.88) 70%); }
}

/* Blog: odkaz na LinkedIn Kristíny Drábikovej - fotka s malým odznakom, bez textu */
.li-avatar { position: relative; display: inline-block; margin-top: 26px; width: 60px; height: 60px; border-radius: 50%; text-decoration: none; }
.li-avatar img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid #fff; box-shadow: 0 10px 24px -14px rgba(40, 39, 38, 0.6); transition: transform 0.35s var(--ease), box-shadow 0.35s ease; }
.li-badge { position: absolute; right: -4px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--camel-deep); color: #fff; display: grid; place-items: center; border: 2px solid var(--dust-soft); transition: background-color 0.3s ease; }
.li-badge svg { width: 12px; height: 12px; }
.li-avatar:hover img { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(40, 39, 38, 0.65); }
.li-avatar:hover .li-badge { background: #0a66c2; }

/* ================= Rozvody by Drábiková - bannery ================= */
.rz-banner { padding: 24px 0 96px; }
.section + .rz-banner, .areas + .rz-banner { padding-top: 96px; }
.rz-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; background: var(--shadow); color: #fff; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.rz-inner::before { content: ""; position: absolute; left: -70px; bottom: -70px; width: 300px; aspect-ratio: 900 / 674; background: #fff; opacity: 0.06; z-index: -1;
  -webkit-mask: url("uploads/2026/02/bg.svg") no-repeat center / contain; mask: url("uploads/2026/02/bg.svg") no-repeat center / contain; }
.rz-copy { padding: 56px 52px; display: flex; flex-direction: column; align-items: flex-start; }
.rz-logo { width: 150px; height: auto; margin-bottom: 28px; }
.rz-kicker { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dust); margin-bottom: 12px; }
.rz-copy h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 18px; }
.rz-copy h2 mark { background: none; color: var(--camel); }
.rz-copy p { color: rgba(255, 255, 255, 0.85); max-width: 46ch; }
.rz-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 30px; }
.rz-pills li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.875rem; }
.rz-pills li::before { content: "✓"; color: var(--camel); margin-right: 8px; }
.rz-copy .btn-primary { background: var(--camel); }
.rz-copy .btn-primary:hover { background: #fff; color: var(--shadow); }
.rz-photo { position: relative; min-height: 360px; }
.rz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.rz-strip { display: flex; align-items: center; gap: 24px; margin-top: 32px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: box-shadow 0.3s ease, transform 0.3s var(--ease); }
.rz-strip:hover { box-shadow: none; transform: translateY(-2px); }
.rz-strip .rz-logo { width: 110px; margin: 0; flex: none; }
.rz-strip > span:not(.btn) { flex: 1; font-weight: 400; }
.rz-strip .btn { flex: none; }
.section-tint .rz-strip { background: #fff; }

.rz-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; min-height: 300px; }
.rz-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; transition: transform 1.2s var(--ease); }
.rz-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40, 39, 38, 0.15) 0%, rgba(40, 39, 38, 0.9) 70%); }
.rz-card:hover .rz-card-img { transform: scale(1.04); }
.rz-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 10px; }
.rz-card .rz-logo { width: 110px; margin: 0; }
.rz-card strong { font-weight: 400; font-size: 1.125rem; line-height: 1.3; }
.rz-card-link { font-size: 0.8125rem; color: var(--dust); display: inline-flex; align-items: center; gap: 8px; }

.nav-drop-menu .nav-rz, .chip-rz { color: var(--camel-deep) !important; font-weight: 500; }
.footer-chips .chip-rz { color: var(--dust) !important; border-color: rgba(230, 216, 213, 0.45) !important; }

/* Odporúčané články */
.related { padding-top: 0; }
.post-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Pätička: navigácia v riadku odkazov */
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
.footer-links { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-links .footer-chips { padding: 0; border: 0; }
.footer-chips-legal a { border-color: transparent !important; color: #a8a29b !important; padding-left: 10px; padding-right: 10px; }
.footer-chips-legal a:hover { color: #fff !important; }

/* ================= Ampersandy: rovnaká veľkosť, striedavo vľavo a vpravo ================= */
.page-hero::before, .team::before, .contact-grid::before, .videos::before, .cta-band::before, .site-footer::before {
  width: 380px; top: 50%; bottom: auto; transform: translateY(-50%); opacity: 1;
}
/* vpravo */
.page-hero::before { right: -110px; left: auto; background: #eadfdb; }
.videos::before { right: -110px; left: auto; background: #f1e9e6; top: 40%; }
.site-footer::before { right: -110px; left: auto; background: rgba(255, 255, 255, 0.045); }
/* vľavo */
.team::before { left: -110px; right: auto; background: #f1e9e6; }
.contact-grid::before { left: -150px; right: auto; background: #f1e9e6; }
.cta-band::before { left: -110px; right: auto; background: rgba(255, 255, 255, 0.45); top: 50%; }
.cta-inner { padding-left: 0; }

@media (max-width: 1100px) {
  .post-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .rz-inner { grid-template-columns: 1fr; }
  .rz-photo { min-height: 260px; order: -1; }
  .rz-copy { padding: 36px 28px; }
  .rz-strip { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .post-grid-3 { grid-template-columns: 1fr; }
  .rz-banner { padding-bottom: 64px; }
  .section + .rz-banner, .areas + .rz-banner { padding-top: 64px; }
  .page-hero::before, .team::before, .contact-grid::before, .videos::before, .cta-band::before, .site-footer::before { width: 220px; }
  .page-hero::before, .videos::before, .site-footer::before { right: -70px; }
  .team::before, .contact-grid::before, .cta-band::before { left: -70px; }
  .footer-links { flex-direction: column; align-items: flex-start; }
}

/* Rodinné právo na úvode: odkaz na Rozvody by Drábiková pod zoznamom služieb */
.area-rz { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 16px 18px; background: #fff; border-radius: var(--radius-sm); text-decoration: none; box-shadow: 0 16px 34px -26px rgba(40, 39, 38, 0.55); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.area-rz:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -26px rgba(40, 39, 38, 0.6); }
.area-rz img { width: 96px; height: auto; flex: none; }
.area-rz span { flex: 1; display: grid; gap: 2px; }
.area-rz strong { font-weight: 500; }
.area-rz small { color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.area-rz .ico { color: var(--camel-deep); }
@media (max-width: 600px) { .area-rz { flex-wrap: wrap; } }

/* Šípka tímu: na konci sa otočí a vráti na začiatok */
.carousel-btn .ico-r { transition: transform 0.35s var(--ease); }
.carousel-btn.is-back .ico-r { transform: rotate(180deg); }

/* Odkazy na Rozvody by Drábiková pri rodinnom práve */
.footer-col .footer-rz { color: var(--dust) !important; font-weight: 500; }
.practice-btns { margin-top: auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.practice .practice-btns .btn { margin-top: 0; }
.practice-rz { font-weight: 500; font-size: 0.9375rem; color: var(--camel-deep); text-decoration: none; border-bottom: 1px solid var(--camel); padding-bottom: 2px; }
.list-rz { color: var(--camel-deep) !important; font-weight: 500 !important; }

/* ================= YouTube Shorts (Rozvody by Drábiková) ================= */
.shorts { background: var(--dust-soft); position: relative; overflow: hidden; }
.shorts-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.shorts-copy .rz-logo { width: 140px; margin-bottom: 24px; }
.shorts-copy h2 { margin-bottom: 18px; }
.shorts-copy .lead { margin-bottom: 28px; }
.shorts-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; scrollbar-width: thin; }
.short { flex: 0 0 min(240px, 62vw); scroll-snap-align: start; }
.short-video { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--shadow); box-shadow: 0 24px 50px -30px rgba(40, 39, 38, 0.6); }
.short-video.is-wide { aspect-ratio: 16 / 9; }
.short-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short-video .quote__play { width: 64px; height: 64px; }
.short-date { font-size: 0.8125rem; color: var(--camel-deep); margin: 14px 0 4px; }
.short-title { font-size: 1rem; font-weight: 500; line-height: 1.35; }
@media (max-width: 860px) { .shorts-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Menu: odkaz na Rozvody by Drábiková odlíšený čiarou */
.nav-drop-menu .nav-rz { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; padding-top: 12px; }
.nav-sub .nav-rz { color: var(--camel-deep); font-weight: 500; }

/* ================= Ampersand v páse „Kontaktujte nás“ a v pätičke: celé, nad sebou ================= */
.cta-band::before, .site-footer::before { left: auto; right: 6%; transform: none; }
.cta-band::before { width: 250px; top: auto; bottom: 22px; background: rgba(255, 255, 255, 0.55); }
.site-footer::before { width: 250px; top: 64px; bottom: auto; background: rgba(255, 255, 255, 0.05); }
.cta-inner { position: relative; z-index: 1; }
@media (max-width: 600px) {
  .cta-band::before, .site-footer::before { width: 160px; right: 16px; }
  .cta-band::before { bottom: 16px; }
  .site-footer::before { top: 40px; }
}

/* =====================================================================
   Ampersandy: všetky celé vo vnútri svojej sekcie, nič nie je orezané.
   Veľkosť sa riadi výškou sekcie (aspect-ratio dopočíta šírku).
   ===================================================================== */
.page-hero::before, .team::before, .contact-grid::before, .videos::before, .cta-band::before, .site-footer::before {
  width: auto; transform: none; bottom: auto; left: auto; right: auto; top: auto;
}
/* úvod podstránok - vpravo, zvislo v strede */
.page-hero::before { right: 3%; top: 50%; height: clamp(150px, 70%, 380px); transform: translateY(-50%); background: #eadfdb; }
/* tím - vľavo hore, za nadpisom */
.team::before { left: 2%; top: 56px; height: clamp(140px, 30%, 280px); background: #f1e9e6; }
/* videá - vpravo hore */
.videos::before { right: 3%; top: 64px; height: 280px; background: #f1e9e6; }
/* kontakt - vľavo dole v rámci obsahu */
.contact-grid::before { left: 0; bottom: 0; height: 240px; background: #f1e9e6; }
/* pás Kontaktujte nás a pätička - vpravo, nad sebou */
.cta-band::before { right: 5%; top: 50%; height: 68%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.55); }
.site-footer::before { right: 5%; top: 56px; height: 200px; background: rgba(255, 255, 255, 0.05); }
/* blok Oblasti práva (taupe) */
.areas-amp { width: 70%; left: 12%; right: auto; bottom: 8%; opacity: 0.28; }
/* banner Rozvody */
.rz-inner::before { left: 28px; bottom: 28px; width: 190px; }

@media (max-width: 860px) {
  .page-hero::before { height: clamp(110px, 40%, 220px); top: auto; bottom: 24px; transform: none; }
  .videos::before { height: 180px; top: 32px; }
  .areas-amp { width: 46%; left: auto; right: 6%; bottom: 12%; }
}
@media (max-width: 600px) {
  .page-hero::before { height: 120px; right: 16px; }
  .team::before { height: 120px; left: 16px; top: 40px; }
  .videos::before { height: 130px; right: 16px; }
  .contact-grid::before { height: 140px; left: 16px; }
  .cta-band::before { height: 55%; right: 16px; }
  .site-footer::before { height: 120px; right: 16px; top: 40px; }
  .rz-inner::before { width: 130px; left: 20px; bottom: 20px; }
}

/* pás Kontaktujte nás: späť bočné odsadenie kontajnera */
.cta-inner { padding-left: var(--gutter); padding-right: var(--gutter); }
/* úvod podstránky s fotkou: ampersand vľavo dole pod textom (vpravo by ho zakryla fotka) */
.page-hero:not(.page-hero-plain)::before { right: auto; left: 2%; top: auto; bottom: 7%; transform: none; height: clamp(120px, 32%, 210px); }
@media (max-width: 860px) {
  .page-hero::before, .page-hero:not(.page-hero-plain)::before { left: auto; right: 16px; top: 28px; bottom: auto; height: 110px; transform: none; }
}

/* =====================================================================
   Ampersandy vyrastajú zo spodného okraja sekcie.
   Grafika bg.svg je dole rovno zrezaná (tak ako na pôvodnom webe) - preto
   musí sedieť presne na spodnej hrane, inak pôsobí odseknuto.
   Striedajú sa vpravo / vľavo.
   ===================================================================== */
.contact-grid::before { content: none; }
.contact-section { position: relative; overflow: hidden; }
.contact-section > .container { position: relative; z-index: 1; }
.contact-section::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0; aspect-ratio: 900 / 674;
  -webkit-mask: url("uploads/2026/02/bg.svg") no-repeat center bottom / contain;
          mask: url("uploads/2026/02/bg.svg") no-repeat center bottom / contain;
  background: #f1e9e6;
}
.page-hero::before, .page-hero:not(.page-hero-plain)::before, .team::before, .contact-section::before,
.videos::before, .cta-band::before, .site-footer::before, .rz-inner::before {
  top: auto !important; bottom: 0 !important; transform: none !important; width: auto;
  -webkit-mask-position: center bottom; mask-position: center bottom;
}
/* vpravo */
.page-hero::before { left: auto; right: 4%; height: clamp(140px, 62%, 360px); }
.videos::before { left: auto; right: 4%; height: 260px; }
.cta-band::before { left: auto; right: 5%; height: 82%; }
/* vľavo */
.page-hero:not(.page-hero-plain)::before { right: auto; left: 3%; height: clamp(120px, 36%, 230px); }
.team::before { right: auto; left: 3%; height: 230px; }
.contact-section::before { right: auto; left: 3%; height: 240px; }
.site-footer::before { right: 5%; left: auto; height: 260px; }
.rz-inner::before { left: 32px; height: 150px; width: auto; }
/* blok Oblasti práva */
.areas-amp { bottom: 0; left: 10%; right: auto; width: 76%; }

@media (max-width: 860px) {
  .page-hero::before, .page-hero:not(.page-hero-plain)::before { left: auto; right: 16px; height: 120px; }
  .areas-amp { left: auto; right: 6%; width: 50%; bottom: 0; }
}
@media (max-width: 600px) {
  .team::before { left: 16px; height: 120px; }
  .contact-section::before { left: 16px; height: 140px; }
  .videos::before { right: 16px; height: 140px; }
  .cta-band::before { right: 16px; height: 60%; }
  .site-footer::before { right: 16px; height: 150px; }
  .rz-inner::before { left: 20px; height: 100px; }
}

/* Shorts: rámik presne 9:16 (bez čiernych pásov), bez posuvníka */
.short { align-self: flex-start; }
.short-video { height: auto !important; aspect-ratio: 9 / 16 !important; }
.short-video.is-wide { aspect-ratio: 16 / 9 !important; }
.shorts-track { scrollbar-width: none; -ms-overflow-style: none; }
.shorts-track::-webkit-scrollbar { display: none; }

/* Väčšie ampersandy (stále vyrastajú zo spodnej hrany sekcie) */
.page-hero::before { height: clamp(200px, 86%, 520px); }
.page-hero:not(.page-hero-plain)::before { height: clamp(170px, 52%, 330px); }
.team::before { height: 360px; }
.contact-section::before { height: 360px; }
.videos::before { height: 400px; }
.cta-band::before { height: 96%; }
.site-footer::before { height: 400px; }
.rz-inner::before { height: 230px; }
.areas-amp { width: 92%; left: 4%; }

@media (max-width: 860px) {
  .page-hero::before, .page-hero:not(.page-hero-plain)::before { height: 180px; }
  .areas-amp { width: 62%; right: 4%; left: auto; }
}
@media (max-width: 600px) {
  .page-hero::before, .page-hero:not(.page-hero-plain)::before { height: 160px; }
  .team::before { height: 180px; }
  .contact-section::before { height: 200px; }
  .videos::before { height: 200px; }
  .cta-band::before { height: 80%; }
  .site-footer::before { height: 230px; }
  .rz-inner::before { height: 150px; }
}

/* Náš tím: zlatkasté pozadie (Eggshell z dizajn manuálu, ako blok Oblasti práva) */
.team { background: var(--eggshell); }
.team::before { background: #e4d8bd; }
.team .carousel-btn { border-color: var(--shadow); }

/* Pätička: veľký ampersand vľavo, vyrastá zo spodku a presahuje cez pás „Kontaktujte nás“ nad pätičkou */
.site-footer { overflow: hidden; }
.site-footer::before {
  left: 2% !important; right: auto !important; bottom: 0 !important; top: auto !important;
  height: calc(100% + 170px); max-height: 820px; width: auto;
  background: rgba(255, 255, 255, 0.05); opacity: 1; z-index: 0;
}
.cta-inner { z-index: 2; }
@media (max-width: 860px) {
  .site-footer::before { height: 520px; max-height: none; left: -4% !important; }
}
@media (max-width: 600px) {
  .site-footer::before { height: 360px; left: -8% !important; }
}
