/* secas.sk – statický web. Bez JavaScriptu, bez externých zdrojov. */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/public-sans-latin-wght-normal.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: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/public-sans-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/public-sans-latin-wght-italic.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: "Public Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/public-sans-latin-ext-wght-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ffffff;
  --ink: #16202a;
  --muted: #55616d;
  --rule: #d8dde3;
  --accent: #24407a;
  --accent-ink: #1a3163;
  --tint: #eef2f8;
  --measure: 40rem;
  --wide: 68rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
}

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

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.125rem); font-weight: 720; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); font-weight: 680; letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; }
p + p { margin-top: 1em; }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 4px;
}
.skip:focus { top: 1rem; color: #fff; }

/* Hlavička */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand .tagline { color: var(--muted); font-size: 0.9375rem; padding-left: 0.75rem; border-left: 1px solid var(--rule); line-height: 1.3; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem 1.5rem; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 520; padding: 0.25rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 currentColor; }

/* Úvod */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; gap: 2.5rem 4.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 54rem) { .hero .wrap { grid-template-columns: minmax(0, 1fr) 17rem; } }
.hero h1 { max-width: 17ch; }
.hero .lead { margin-top: 1.5rem; max-width: var(--measure); font-size: 1.1875rem; color: #2a3540; }

/* Oprávnenia ako obrysové štítky – opakujú obrysový štýl loga */
.creds { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 42rem; }
.creds li {
  border: 1.5px solid var(--ink); border-radius: 4px; padding: 0.3rem 0.65rem;
  font-size: 0.875rem; font-weight: 560; line-height: 1.3;
}

.actions { margin-top: 2.25rem; display: flex; gap: 1rem 1.75rem; align-items: center; flex-wrap: wrap; }
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; padding: 0.8rem 1.35rem; border-radius: 6px;
}
.button:hover { background: var(--accent-ink); color: #fff; }
.actions .tel { font-weight: 600; color: var(--ink); text-decoration: none; }
.actions .tel:hover { color: var(--accent); text-decoration: underline; }

.illustration img { width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 53.99rem) { .illustration { display: none; } }

/* Sekcie */
.section { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--rule); }
.section-head { max-width: var(--measure); }
.section-head p { margin-top: 0.75rem; color: var(--muted); }

.services { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0 3rem; grid-template-columns: 1fr; }
.services li { padding: 1.5rem 0; border-top: 2px solid var(--ink); }
.services li p { margin-top: 0.5rem; color: #33404c; max-width: 34rem; }
@media (min-width: 46rem) { .services { grid-template-columns: 1fr 1fr; } }

/* O mne */
.about { display: grid; gap: 2.5rem 4.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 54rem) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); } }
.about .text { max-width: var(--measure); }
.about .text h2 { margin-bottom: 1.25rem; }
.about h3 { margin-bottom: 0.75rem; }

.cred-list { list-style: none; margin: 0; padding: 0; }
.cred-list li {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 1rem; align-items: center;
  padding: 0.85rem 0; border-top: 1px solid var(--rule);
}
.cred-list li:last-child { border-bottom: 1px solid var(--rule); }
.cred-list img { width: 3.25rem; height: 3.25rem; object-fit: contain; }
.cred-list .mark {
  width: 3.25rem; height: 3.25rem; border: 1.5px solid var(--ink); border-radius: 4px;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em;
}
.cred-list strong { display: block; font-weight: 620; line-height: 1.35; }
.cred-list span { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.4; }

/* Výzva na kontakt */
.cta { background: var(--tint); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta p { margin-top: 0.5rem; color: var(--muted); }
.cta .actions { margin-top: 0; }

/* Kontakt a texty */
.page { padding: clamp(3rem, 6vw, 5rem) 0; }
.page h1 { margin-bottom: 1.5rem; }
.page .lead { max-width: var(--measure); font-size: 1.1875rem; color: #2a3540; }
.contact-grid { margin-top: 3rem; display: grid; gap: 2.5rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 46rem) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid h2 { font-size: 1rem; font-weight: 650; color: var(--muted); margin-bottom: 0.5rem; letter-spacing: 0; }
.contact-grid .big { font-size: 1.3125rem; font-weight: 600; }
.note { margin-top: 3rem; max-width: var(--measure); font-size: 0.9375rem; color: var(--muted); }

.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.375rem; margin: 2.5rem 0 0.75rem; }
.prose ul { padding-left: 1.25rem; margin: 0.75rem 0 0; }
.prose li + li { margin-top: 0.25rem; }
.prose p + ul, .prose ul + p { margin-top: 0.75rem; }

/* Pätička */
.site-footer { border-top: 1px solid var(--rule); padding: 3rem 0 2.5rem; font-size: 0.9375rem; color: #33404c; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h2 { font-size: 0.9375rem; font-weight: 650; color: var(--ink); margin-bottom: 0.5rem; letter-spacing: 0; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.25rem; }
.site-footer .legal { margin-top: 2.5rem; color: var(--muted); font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .site-nav, .skip, .actions { display: none; } .cta { background: none; } }

.hero .lead strong { font-weight: 650; color: var(--ink); }
