/* ==========================================================================
   Šudo MONT – štýly webu (podľa dizajn manuálu v1.0)
   Farby: Šudo modrá #02469A · tmavomodrá #08204F · elektrická žltá #FCC900
   Písma: Roboto Slab (nadpisy) · Roboto (texty)
   ========================================================================== */

/* ---------- písma (uložené na webe, bez Google Fonts) ----------
   Roboto – licencia SIL OFL 1.1, Roboto Slab – licencia Apache 2.0
   (assets/fonts/LICENSE-*.txt). Variabilné písma, rozsah hrúbok podľa použitia.
   latin + latin-ext pokrývajú celú slovenskú diakritiku. */
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto Slab'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/roboto-slab-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Slab'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/roboto-slab-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #02469A;
  --blue-dark: #013A82;
  --navy: #08204F;
  --navy-2: #0B3A80;
  --yellow: #FCC900;
  --yellow-dark: #E9B900;
  --graphite: #383539;
  --gray: #6E6D72;
  --light: #ECEDEE;
  --t5: #F2F6FA;
  --t10: #E6EDF5;
  --t20: #CCDAEB;
  --red: #C62828;
  --green: #1E7B3A;

  --slab: 'Roboto Slab', Cambria, Georgia, serif;
  --sans: 'Roboto', Arial, Helvetica, sans-serif;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(8, 32, 79, .10);
  --container: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--graphite); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--slab); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--blue); margin-bottom: 12px; }
.eyebrow-light { color: var(--yellow); }

/* ---------- tlačidlá ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 16px/1 var(--sans); padding: 16px 26px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-dark); color: var(--navy); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--light); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(8, 32, 79, .08); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--blue); border-bottom-color: var(--yellow); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 24px; height: 2px; background: var(--navy); content: ''; transition: transform .2s, opacity .2s; }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- úvod ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 120px 0 130px; }
.hero-watermark { position: absolute; width: 640px; max-width: none; right: -120px; top: -90px; opacity: .06; pointer-events: none; }
.hero-stripes { position: absolute; right: 0; bottom: 0; width: 42%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; max-width: var(--container); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.6vw, 62px); max-width: 720px; margin-bottom: 22px; }
.hero-lead { font-size: clamp(18px, 2vw, 21px); font-weight: 300; max-width: 600px; color: rgba(255, 255, 255, .88); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ''; width: 10px; height: 10px; background: var(--yellow); transform: skewX(-25deg); flex: none; }

/* ---------- sekcie ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--t5); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2, .why-intro h2, .contact-info h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head h2::after, .why-intro h2::after { content: ''; display: block; width: 48px; height: 4px; background: var(--yellow); margin-top: 20px; }
.section-head p:last-child:not(.eyebrow) { color: var(--gray); font-size: 18px; }

/* služby */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--light); border-top: 3px solid transparent; border-radius: var(--radius); padding: 34px 30px 30px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-top-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon { display: inline-flex; width: 56px; height: 56px; border-radius: var(--radius); background: var(--t10); align-items: center; justify-content: center; margin-bottom: 22px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--gray); margin: 0; font-size: 16px; }

/* prečo my */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.why-intro p:not(.eyebrow) { font-size: 18px; color: var(--gray); margin-bottom: 30px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-item { background: #fff; padding: 30px 28px; border-radius: var(--radius); border-left: 4px solid var(--blue); }
.why-item h3 { font-size: 19px; }
.why-item p { margin: 0; color: var(--gray); font-size: 16px; }

/* postup */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 8px; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 34px; left: 78px; right: -14px; height: 2px; background: var(--t20); }
.step-num { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; font: 700 22px var(--slab); margin-bottom: 20px; position: relative; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.steps li:first-child .step-num { background: var(--yellow); color: var(--navy); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--gray); font-size: 16px; margin: 0; }

/* výzva */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 64px 0; }
.cta-stripes { position: absolute; right: -40px; top: 0; width: 300px; height: 100%; pointer-events: none; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 18px; }
.cta-phone { font: 700 clamp(26px, 3.4vw, 38px) var(--slab); color: #fff; text-decoration: none; white-space: nowrap; border-bottom: 3px solid var(--yellow); padding-bottom: 4px; margin-right: 220px; }
.cta-phone:hover { color: var(--yellow); }

/* kontakt */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 0; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.contact-info { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .85); padding: 56px 48px; }
.contact-info h2 { color: #fff; }
.contact-info > p:not(.eyebrow) { font-size: 17px; margin-bottom: 34px; position: relative; }
.contact-watermark { position: absolute; width: 420px; max-width: none; right: -150px; bottom: -120px; opacity: .06; pointer-events: none; }
.contact-list { list-style: none; margin: 0; padding: 0; position: relative; }
.contact-list li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 17px; color: #fff; }
.contact-list span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 2px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--yellow); }

.contact-form { background: #fff; padding: 56px 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.field abbr { color: var(--red); text-decoration: none; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--graphite); background: #fff; border: 1px solid #C9CED6; border-radius: var(--radius); padding: 13px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 150px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2302469A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px; }
.field input::placeholder, .field textarea::placeholder { color: #9A9AA0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2, 70, 154, .15); }
.field-error { min-height: 20px; margin: 4px 0 6px; font-size: 13px; color: var(--red); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(198, 40, 40, .12); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--gray); margin: 8px 0 22px; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 15px; font-weight: 500; padding: 12px 16px; border-radius: var(--radius); flex: 1 1 260px; }
.form-status.success { background: #E7F4EA; color: var(--green); }
.form-status.error { background: #FCEBEB; color: var(--red); }
.btn.is-loading .btn-label::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* päta */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 15px; padding-top: 64px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-size: 15px; font-family: var(--sans); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0 28px; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* jednoduché podstránky (ďakujeme, 404, ochrana údajov, chyba formulára) */
.simple-page { background: var(--t5); }
.simple { max-width: 780px; padding: 64px 0 80px; }
.simple > a:first-child img { height: 52px; width: auto; margin-bottom: 48px; }
.simple h1 { font-size: clamp(30px, 4.4vw, 44px); }
.simple h1::after { content: ''; display: block; width: 48px; height: 4px; background: var(--yellow); margin-top: 18px; }
.simple h2 { font-size: 22px; margin-top: 2em; }
.simple .lead { font-size: 19px; color: var(--navy); font-weight: 300; }
.simple ul { padding-left: 1.2em; }
.simple .error-list { color: var(--red); }
.simple .box { background: #fff; border-left: 4px solid var(--yellow); padding: 18px 22px; margin: 24px 0; font-size: 15px; }

/* ---------- responzívnosť ---------- */
@media (max-width: 1080px) {
  .why { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li:nth-child(2)::after { display: none; }
  .contact { grid-template-columns: 1fr; }
  .cta-phone { margin-right: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 20px 24px; border-bottom: 1px solid var(--light); box-shadow: 0 18px 30px rgba(8, 32, 79, .12); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--light); font-size: 18px; }
  .nav-cta { margin-top: 18px; }
  .hero { padding: 84px 0 96px; }
  .hero-stripes { width: 70%; opacity: .55; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .brand img { height: 40px; }
  .cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 40px 24px; }
  .hero-actions .btn { width: 100%; }
  .hero { padding-bottom: 150px; }
  .hero-stripes { width: 100%; height: 120px; opacity: 1; }
  .cta-stripes { opacity: .35; }
  .footer-inner { grid-template-columns: 1fr; }
}
