/* Elist Consulting – statický web (farby a písmo podľa pôvodnej témy) */
:root {
  --navy: #172e54;
  --navy-2: #22406f;
  --teal: #149dad;
  --teal-dark: #0f7f8c;
  --tint: #eaf6f9;
  --tint-2: #d5eef4;
  --text: #4a5560;
  --muted: #7b8a96;
  --line: #dde6ea;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(23, 46, 84, .08);
  --head: "Lora", Georgia, serif;
  --body: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font: 16px/1.7 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.3; margin: 0 0 .6em; font-weight: 400; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
b, strong { color: var(--navy); }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Tlačidlá */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--teal); color: #fff; padding: .75em 1.6em; border-radius: var(--radius); border: 2px solid var(--teal); font: 600 .95rem var(--body); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Horná lišta */
.topbar { background: var(--navy); color: #c9d6e3; font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 8px; padding-bottom: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar svg { color: var(--teal); }
.topbar a:hover { color: #fff; text-decoration: none; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { height: 64px; width: auto; }
.main-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu a { display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.active { color: var(--teal); border-bottom-color: var(--teal); text-decoration: none; }
.btn-login { padding: .6em 1.1em; font-size: .85rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 30px; color: var(--navy); cursor: pointer; padding: 6px; line-height: 0; }

/* Mobilné menu */
.offcanvas { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: var(--navy); z-index: 90; padding: 70px 24px 24px; transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
.offcanvas.open { transform: none; }
.close-canvas { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 0; }
.menu-mobile { list-style: none; margin: 0 0 24px; padding: 0; }
.menu-mobile a { display: block; padding: 12px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.menu-mobile a.active, .menu-mobile a:hover { color: var(--teal); text-decoration: none; }
.overlay { position: fixed; inset: 0; background: rgba(10, 20, 40, .5); z-index: 80; opacity: 0; visibility: hidden; transition: opacity .3s; }
.overlay.open { opacity: 1; visibility: visible; }

/* Hero */
.hero { background: var(--navy) url(../images/home_translator_section_bg_1.jpg) center/cover no-repeat; color: #e6eef6; padding: clamp(70px, 12vw, 150px) 0; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero-kicker { text-transform: uppercase; letter-spacing: .2em; color: #7fd3dd; font-weight: 600; font-size: .85rem; margin-bottom: 1em; }
.hero-lead { font-size: 1.15rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.page-hero { background: var(--navy) url(../images/home_translator_section_bg_1.jpg) center 30%/cover no-repeat; padding: 56px 0 44px; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.breadcrumb { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; color: #b9c8d8; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { color: #fff; }

/* Sekcie */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section-tint { background: var(--tint); }
.title { position: relative; padding-bottom: 18px; margin-bottom: 28px; }
.title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; background: var(--teal); }
.title.center::after { left: 50%; transform: translateX(-50%); }
.title b { font-weight: 700; }
.subtitle { margin: 36px 0 16px; color: var(--teal-dark); font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; color: var(--teal); font-weight: 700; font-size: .8rem; margin-bottom: .4em; }
.lead, .intro { font-size: 1.12rem; }
.intro { max-width: 720px; margin: 0 auto 32px; }
section h3 { margin-top: 1.6em; }
.card h3, .card h4, .service h3 { margin-top: 0; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.section-tint .card { border-color: transparent; }

.services { margin-top: -60px; padding-top: 0; position: relative; }
.service { display: block; background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); color: var(--text); border-top: 3px solid var(--teal); transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(23,46,84,.14); text-decoration: none; color: var(--text); }
.service img { margin-bottom: 16px; }
.service h3 { font-size: 1.25rem; }
.service p { margin: 0; font-size: .95rem; }

.bullets, .checklist { list-style: none; margin: 0 0 1.2em; padding: 0; }
.bullets li, .checklist li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.checklist li { padding-left: 34px; font-size: 1.05rem; margin-bottom: .7em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .25em; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }
.callout { background: var(--tint-2); border-left: 4px solid var(--teal); padding: 16px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.callout p:last-child { margin: 0; }

.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 85px; z-index: 40; }
.subnav .container { display: flex; gap: 6px 22px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; font-size: .9rem; font-weight: 600; }
.subnav a { color: var(--navy); }
.subnav a:hover { color: var(--teal); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; columns: auto; }
.form-control { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: 400 1rem var(--body); color: var(--text); background: #fbfdfe; transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,157,173,.15); }
.form-control.invalid { border-color: #c0392b; }
textarea.form-control { resize: vertical; min-height: 150px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; flex: 1 1 280px; }
.form-msg { margin-top: 16px; font-weight: 600; }
.form-msg.ok { color: var(--teal-dark); }
.form-msg.err { color: #c0392b; }
.contact-info { background: var(--navy); color: #d3deea; padding: 32px; border-radius: var(--radius); }
.contact-info h3 { color: #fff; margin-top: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-list svg { color: var(--teal); margin-top: .35em; font-size: 1.1rem; }
.contact-info a, .site-footer .contact-list a { color: #fff; }
.company-ids { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 20px 0 0; font-size: .9rem; }
.company-ids dt { font-weight: 700; }
.company-ids dd { margin: 0; }
.contact-info .company-ids { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; }
.contact-info dt { color: #fff; }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* GDPR */
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; font-size: 1.9rem; }
.legal .company-ids { margin-bottom: 1.2em; }
.legal ul { padding-left: 1.2em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .88rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 600; }
tbody tr:nth-child(even) { background: var(--tint); }

/* Pätička */
.site-footer { background: var(--navy) url(../images/home_translator_footer_bg.jpg) center/cover no-repeat; color: #b9c8d8; padding-top: 56px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-family: var(--head); font-weight: 700; margin-bottom: 1em; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #fff; }

.footer-links { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }
.link-btn { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* Cookie lišta */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--navy); color: #d3deea; box-shadow: 0 -6px 24px rgba(0,0,0,.2); border-top: 3px solid var(--teal); }
.cookie-bar[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 16px 32px; padding-top: 18px; padding-bottom: 18px; }
.cookie-inner p { margin: 0; font-size: .92rem; flex: 1; }
.cookie-inner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex: none; }
.cookie-actions .btn { padding: .6em 1.3em; }

/* Mapa pred súhlasom */
.map-placeholder { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d5eef4' stroke-width='1'/%3E%3C/svg%3E"); }
.map-placeholder p { margin-bottom: .6em; }
.map-placeholder .small { font-size: .88rem; color: var(--muted); margin-bottom: 1.2em; }
.map-link { margin-top: 14px; font-size: .9rem; }

.return-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; border: 0; font-size: 26px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 60; display: grid; place-items: center; }
.return-top.show { opacity: 1; visibility: visible; }

/* Responzivita */
@media (max-width: 1080px) {
  .menu a { padding: 10px 9px; font-size: .82rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav, .header-inner > .btn-login { display: none; }
  .menu-toggle { display: block; }
  .header-inner { min-height: 72px; }
  .logo img { height: 54px; }
  .grid-3, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .subnav { top: 73px; }
  .topbar span { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .services { margin-top: -40px; }
  .cols-2 { columns: 1; }
  .form-row.cols-2 { grid-template-columns: 1fr; }
  .card { padding: 22px 20px; }
  .contact-info { padding: 24px; }
  .contact-map iframe { height: 320px; }
  .subnav { position: static; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* skryté antispam pole formulára */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: wait; }
