/* Quintas: the site's styles (from the approved design, quintas-web-svetly). */

/* Inter, hosted here (no Google Fonts requests): variable weight 400-600 and
   optical size 14-32, latin + latin-ext subsets. License: fonts/OFL.txt */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/inter-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: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/inter-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 {
  --text: #111111;
  --muted: #55555b;
  --mint-bg: #eaf6ef;
  --dark: #152c2e;
  --mint: #93e3a8;
  --hover: #0a7482;
  --line: #e4e4e7;
  --line-green: #cde3d7;
  --green-text: #4b5b59;
  --on-dark: #b9cfcc;
}

html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }      /* also over .form's display: flex */
body { margin: 0; background: #000; }

.page {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--text); }
a:hover { color: var(--hover); }

/* Focus: visible for keyboard users everywhere; mint on the dark parts. */
:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }

/* "Preskočiť na obsah": off screen until it gets keyboard focus */
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; color: #fff; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.sec { padding-top: 120px; padding-bottom: 120px; }
.sec-lg { padding-top: 128px; padding-bottom: 128px; }
.mint-bg { background: var(--mint-bg); }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
.h2 { font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; }
.h2 + * { margin-top: 56px; }
.two > .h2 + *, .two > div > .h2 + * { margin-top: 0; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.site-header .logo { display: flex; }
.site-header .logo img { height: 42px; width: auto; display: block; }
.links { display: flex; gap: 32px; font-size: 15px; }
.links a { color: #3f3f46; text-underline-offset: 5px; }
.links a:hover { color: var(--hover); }

/* Buttons */
.btn-outline {
  border: 1px solid #d4d4d8; border-radius: 999px; padding: 11px 20px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--text);
}
.btn-outline:hover { border-color: var(--text); color: var(--text); }
.btn-dark {
  background: var(--dark); color: #fff; text-decoration: none; border-radius: 999px;
  padding: 16px 28px; font-weight: 600; font-size: 16px;
}
.btn-dark:hover { background: #22454a; color: #fff; }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 128px; }
.h1 { max-width: 1040px; font-size: 100px; line-height: 0.98; letter-spacing: -0.04em; }
.lead { margin: 40px 0 48px; max-width: 760px; font-size: 26px; line-height: 1.4; letter-spacing: -0.01em; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.quiet-link { font-size: 16px; color: var(--muted); text-underline-offset: 5px; }

/* Statement */
.stmt { max-width: 1100px; font-size: 46px; line-height: 1.22; letter-spacing: -0.02em; font-weight: 400; }
.stmt a { text-underline-offset: 9px; text-decoration-thickness: 2px; }

/* Čo pre firmy robíme */
.offers { row-gap: 48px; }
.offer { border-top: 1px solid var(--line); padding: 24px 0 8px; }
.offer h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.2; letter-spacing: -0.015em; max-width: 480px; }
.offer p { font-size: 16px; color: var(--muted); max-width: 500px; }

/* Ako môžeme spolupracovať */
.plan {
  border: 1px solid var(--line-green); border-radius: 22px; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.plan h3 { font-size: 24px; }
.plan p { font-size: 15px; color: var(--green-text); }
.plan .fit { margin-top: auto; padding-top: 24px; font-size: 13px; color: #5f6f6d; }
.plan.featured { background: var(--dark); border: 0; color: #fff; }
.plan.featured p { color: var(--on-dark); }
.plan.featured .fit { color: #9fb8b5; }

/* Ako to prebieha */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.steps .n { color: #6b6b73; font-weight: 600; width: 16px; flex: none; }
.steps h3 { margin: 0 0 4px; font-size: 19px; }
.steps p { font-size: 15px; color: var(--muted); }

/* S kým pracujeme */
.who { margin: 0 0 48px; font-size: 34px; line-height: 1.25; letter-spacing: -0.015em; }
.promises { row-gap: 8px; }
.promise { border-top: 1px solid var(--line-green); padding: 20px 0 24px; }
.promise h3 { margin: 0 0 6px; font-size: 17px; }
.promise p { font-size: 15px; color: var(--green-text); }

/* Kontakt */
.dark { background: var(--dark); color: #fff; }
.contact-title { margin: 0 0 56px; font-size: clamp(52px, 7vw, 98px); line-height: 1; letter-spacing: -0.035em; max-width: 1000px; }
.contact { gap: 64px; align-items: start; }
.contact-intro { margin: 0 0 40px; max-width: 440px; font-size: 19px; color: var(--on-dark); }
.contact-label { margin: 0 0 6px; font-size: 14px; color: var(--on-dark); }
.contact-email {
  display: inline-block; color: #fff; font-size: 30px; font-weight: 500;
  letter-spacing: -0.01em; text-underline-offset: 6px;
}
.contact-email:hover { color: var(--mint); }

.form, .form-done {
  background: #1b3638; border: 1px solid #2f4d4f; border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.form .g2 { column-gap: 16px; row-gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--on-dark); }
.form .req { color: #9fb8b5; font-size: 13px; }
.form label.consent { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mint); cursor: pointer; }
.consent a { color: #fff; text-underline-offset: 3px; }
.consent a:hover { color: var(--mint); }
.consent input[aria-invalid="true"] { outline: 2px solid #ff9b8a; outline-offset: 2px; }
.form input, .form textarea {
  background: var(--dark); border: 1px solid #6a8081; border-radius: 10px; padding: 13px 14px;   /* 3:1 to the form (WCAG 1.4.11) */
  color: #fff; font: inherit; font-size: 16px;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline-offset: 1px; border-color: var(--mint); border-radius: 10px; }
.form [aria-invalid="true"] { border-color: #ff9b8a; }
.form button {
  align-self: flex-start; background: var(--mint); color: var(--dark); border: 0; border-radius: 999px;
  padding: 16px 30px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
}
.form button:hover { background: #b2edc1; }
.form button:disabled { opacity: 0.6; cursor: progress; }
.form .note { font-size: 13px; color: #9fb8b5; }
.form .note a { color: inherit; text-underline-offset: 3px; }
.form .note a:hover { color: #fff; }
.form-status { font-size: 15px; }
.form-status[data-kind="error"] { color: #ffb4a8; }
.form-status[data-kind="info"] { color: var(--on-dark); }
/* Turnstile stays invisible unless it needs the visitor: take back the form's gap until then */
.cf-turnstile { margin-top: -18px; }
.cf-turnstile.shown { margin-top: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot */
.form-done { gap: 8px; }
.form-done:focus { outline: none; }
.form-done .done-title { font-size: 24px; font-weight: 500; }
.form-done p { color: var(--on-dark); }

/* Footer */
.site-footer { background: #000; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between;
  padding-top: 34px; padding-bottom: 38px; font-size: 13px; color: #9a9aa3;
}
.site-footer img { height: 32px; width: auto; display: block; }
.site-footer .company { flex: 1 1 340px; line-height: 1.5; }
.site-footer .meta { display: flex; gap: 24px; }
.site-footer a { color: #9a9aa3; text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; }

/* Text pages (zásady ochrany osobných údajov) */
.doc { padding-top: 72px; padding-bottom: 120px; }
.doc .h2 + * { margin-top: 24px; }
.doc-body { max-width: 760px; }
.doc-body h2 { margin: 48px 0 12px; font-size: 26px; line-height: 1.25; letter-spacing: -0.015em; }
.doc-body p, .doc-body ul { margin: 0 0 14px; color: #2c2c31; }
.doc-body ul { padding-left: 22px; }
.doc-body .updated { color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .g2, .g3, .two { grid-template-columns: minmax(0, 1fr); }
  .wrap { padding: 0 22px; }
  .h1 { font-size: 48px; }
  .h2 { font-size: 36px; }
  .sec, .sec-lg, .hero { padding-top: 72px; padding-bottom: 72px; }
  .stmt { font-size: 30px; }
  .links { display: none; }
  .doc { padding-top: 40px; padding-bottom: 72px; }
}
