/* OK Family - static site.
   Sizes, colors, shadows and radii are measured from the original Avada site (okfamily.cz, 17. 11. 2026).
   Font files are the same Manrope files the original site self-hosts. Icons: Font Awesome 5 Free (CC BY 4.0). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #023a51;
  --text: #59667d;
  --green: #2cbc63;
  --green-bright: #15d16c;
  --green-dark: #23a052;
  --soft: #f9fafb;
  --line: #e8ebef;
  --hero: #e0ecf0;
  --white: #fff;
  --card-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(2, 58, 81, 0.04);
  --header-h: 130px;
  --container: 1260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0.008em;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll, body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--green); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; margin: 0 0 0.5em; }
h1 { font-size: 60px; line-height: 1.16; letter-spacing: -0.036em; }
h2 { font-size: 48px; line-height: 1.2; letter-spacing: -0.03em; }
h3 { font-size: 24px; line-height: 1.42; letter-spacing: -0.02em; }
h4 { font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.h-dot::after { content: "."; color: var(--green-bright); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; }
.ico { width: 1em; height: 1em; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 30px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0 88px; }
.section--soft { background: var(--soft); }
.section__lead { max-width: 760px; margin: 0 auto 72px; }
h2.center { margin-bottom: 20px; }
.eyebrow.center { margin-bottom: 12px; }
.page-hero .section__lead { margin-left: 0; margin-bottom: 0; color: var(--navy); font-size: 22px; line-height: 1.6; }
.page-hero__text { max-width: 760px; margin-top: 24px; }
.page-hero__text p { color: var(--navy); }
.page-hero__text p:last-child { margin-bottom: 0; }
.eyebrow { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 8px; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

/* Buttons: original Avada flat pill, 18px / 600, 17px 40px padding */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  line-height: 21px;
  padding: 17px 40px;
  border-radius: 32px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.pill { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--soft); border-radius: 32px; padding: 17px 40px; margin-top: 10px; color: var(--navy); font-size: 18px; font-weight: 600; line-height: 21px; text-decoration: none; }
.pill:hover { background: var(--line); color: var(--navy); }
.pill .ico { font-size: 15px; }

/* Header: same light blue as the hero, white once scrolled */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--hero); transition: background 0.25s, box-shadow 0.25s; }
.site-header.is-scrolled { background: #fff; box-shadow: 0 4px 20px rgba(2, 58, 81, 0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; transition: min-height 0.25s; }
.site-header__logo img { width: 96px; height: auto; transition: width 0.25s; }
.is-scrolled .site-header__inner { min-height: 84px; }
.is-scrolled .topbar { display: none; }
.is-scrolled .site-header__logo img { width: 62px; }
.site-header__right { display: flex; flex-direction: column; align-items: flex-end; }
.topbar { display: flex; gap: 30px; font-size: 16px; font-weight: 600; padding: 0 30px 8px; border-bottom: 1px solid rgba(2, 58, 81, 0.1); margin-bottom: 14px; }
.topbar a { color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--green); }
.topbar .ico { font-size: 14px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 54px; }
.nav__list a { color: var(--navy); font-weight: 600; font-size: 18px; text-decoration: none; }
.nav__list a:not(.btn):hover, .nav__list a[aria-current="page"] { color: var(--green); }
.nav__list .btn { color: #fff; padding: 15px 32px; }
.nav__toggle { display: none; }

/* Hero: text left, photo right (like the original with the cut-out portrait) */
.hero { background: var(--hero); padding: 36px 0 96px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 60px; align-items: center; }
.hero__text h1 { margin-bottom: 24px; }
.hero__lead { font-size: 26px; line-height: 36px; color: var(--navy); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; border-radius: 24px; box-shadow: 0 24px 40px rgba(0, 29, 48, 0.18); }

.page-hero { background: var(--hero); padding: 36px 0 76px; }
.page-hero h1 { margin-bottom: 18px; }

/* Projects: title + photos stick on the left, text scrolls on the right */
.projects { display: grid; gap: 0; }
.project + .project { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--line); }
.section--soft .project + .project { border-top-color: #e3e7ec; }
.project { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.project__aside { align-self: stretch; } /* full row height, so the inner block can stick */
.project__sticky { position: sticky; top: 130px; }
.project__title { font-size: 40px; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 28px; }
.project__text { padding-top: 34px; }
.project__text > :last-child { margin-bottom: 0; }
.project__block { margin-bottom: 36px; }
.project__block p:last-child { margin-bottom: 0; }
.project__block h4 { display: flex; align-items: center; gap: 14px; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 12px; }
.ico-block { width: 30px; height: 30px; color: var(--green); flex: none; }
.gallery__main { display: block; border-radius: 12px; overflow: hidden; background: var(--line); }
.gallery__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s; }
.gallery__main:hover img, .gallery__thumb:hover img { transform: scale(1.03); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery__thumb { display: block; border-radius: 8px; overflow: hidden; background: var(--line); }
.gallery__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s; }
/* Catalog photos are small (about 700 px wide), keep them from being stretched too far. */
.gallery--small { max-width: 620px; }
.gallery--small .gallery__main img { aspect-ratio: 715 / 255; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); margin-left: 14px; }
.timeline li { position: relative; padding: 0 0 10px 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 11px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid #fff; }
.timeline__date { display: inline-block; min-width: 90px; font-weight: 700; color: var(--navy); }

/* Documents */
.documents { padding-top: 80px; padding-bottom: 40px; }
.documents h2 { margin-bottom: 28px; }
.documents__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.documents__list a { display: inline-block; padding: 17px 32px; border-radius: 32px; color: var(--navy); font-size: 18px; font-weight: 600; text-decoration: none; background: var(--soft); }
.documents__list a:hover { background: var(--line); }
.documents__list span { color: var(--text); font-weight: 400; }

/* Service cards: white box with a faint shadow, FA icon 32px green */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { display: block; height: 100%; background: #fff; border-radius: 8px; box-shadow: var(--card-shadow); padding: 36px 34px 34px; text-decoration: none; color: var(--text); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 14px 30px rgba(2, 58, 81, 0.1); transform: translateY(-3px); color: var(--text); }
.card__ico { width: 32px; height: 32px; color: var(--green); margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.split__text h2 { margin-bottom: 24px; }
.split__text > :last-child { margin-bottom: 0; }
.split__media img { margin: 0 auto; }
.split__text p { text-align: justify; }
.section--tight .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; }
.section--owner .split__text p { font-size: 18px; line-height: 1.7; }
.section--owner { padding: 80px 0 0; }
.split__media--cutout { align-self: end; }
.section--owner .split__text { padding-bottom: 80px; }
.signature { font-weight: 700; color: var(--navy); margin-top: 28px; }
.signature span { display: block; font-weight: 400; font-size: 16px; color: var(--text); }
.person { background: #fff; border-radius: 8px; box-shadow: var(--card-shadow); padding: 24px 40px 18px; text-align: center; }
.person h3 { margin-bottom: 4px; }
.section--assistant { padding: 88px 0 24px; }
.person--wide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; max-width: 860px; margin: 0 auto; padding: 32px 40px; text-align: left; }
.person--wide img { width: 220px; margin: 0; }
.person--wide p:last-child { margin-bottom: 0; }
.person img { width: 280px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin: 0 auto 22px; }
.person__role { font-weight: 700; color: var(--green); font-size: 16px !important; margin-bottom: 12px; }
.person p { font-size: 18px; }
.person a { font-weight: 600; text-decoration: none; }
.section--values { padding: 80px 0; }
.section--values h2 { margin-bottom: 28px; }
.values { list-style: none; padding: 0; margin: 0 auto; display: grid; justify-items: center; gap: 2px; }
.values li { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--navy); padding: 12px 10px; text-align: center; }
.values .ico { font-size: 16px; color: var(--navy); }
.prose { max-width: 860px; }
.prose p { text-align: justify; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }

/* Partners */
.partners { padding: 88px 0 80px; }
.partners h2 { font-size: 36px; }
.partners__list { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 90px; }
.partners__list li { display: flex; align-items: center; justify-content: center; }
.partners__list img { height: 68px; width: auto; max-width: 220px; object-fit: contain; }
.partners__list img[src*="eserko"] { height: auto; width: 150px; }

/* Contact: navy card, radius 24, deep shadow (measured) */
.contact-wrap { padding: 0 0 96px; }
.contact { background: var(--navy); color: #fff; border-radius: 24px; box-shadow: 0 24px 40px rgba(0, 29, 48, 0.24); padding: 60px 80px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 60px; align-items: start; }
.contact h2 { color: #fff; font-size: 60px; letter-spacing: -0.036em; margin-bottom: 44px; }
.contact__item { margin-bottom: 34px; }
.contact__item:last-child { margin-bottom: 0; }
.contact__item p { margin: 0; }
.contact__item h3 { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 24px; margin-bottom: 8px; }
.contact__item h3 .ico { color: var(--green); font-size: 20px; }
.contact__item p { color: #fff; font-size: 18px; line-height: 30px; }
.contact__item a { color: #fff; text-decoration: none; }
.contact__item a:hover { color: var(--green-bright); }
.contact__form { background: #fff; border-radius: 12px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); padding: 36px 36px 22px; color: var(--text); }
.contact__form label { display: block; font-size: 18px; color: var(--text); margin-bottom: 20px; }
.contact__form label span { color: var(--text); }
.contact__form input, .contact__form textarea { display: block; width: 100%; margin-top: 10px; font: inherit; font-size: 16px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; height: 56px; }
.contact__form textarea { height: auto; min-height: 140px; padding: 16px 18px; resize: vertical; }
.contact__form input::placeholder, .contact__form textarea::placeholder { color: #8a95a8; }
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(44, 188, 99, 0.18); }
.contact__form .is-invalid { border-color: #db4b68; }
.contact__status { margin: 12px 0 0; font-size: 16px; font-weight: 600; min-height: 1.5em; }
.contact__status.is-ok { color: #12b878; }
.contact__status.is-error { color: #db4b68; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 16px 0 36px; }
.site-footer__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer__about { max-width: 340px; }
.site-footer__about p { font-size: 18px; line-height: 30px; margin-bottom: 14px; }
.site-footer__logo { width: 150px; margin-bottom: 4px; }
.site-footer__contact { min-width: 300px; }
.site-footer__contact h3 { font-size: 20px; margin: 18px 0 12px; }
.site-footer__contact p { font-size: 18px; margin: 0 0 6px; }
.site-footer__contact p + .pill { margin-top: 20px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.site-footer__social { display: flex; gap: 22px; }
.site-footer__social a { color: var(--navy); display: inline-flex; }
.site-footer__social a:hover { color: var(--green); }
.site-footer__social .ico { font-size: 15px; }
.site-footer__bottom > a { color: var(--navy); text-decoration: none; font-weight: 700; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(1, 25, 36, 0.92); display: flex; align-items: center; justify-content: center; padding: 48px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox--single .lightbox__nav { display: none; }

/* Smaller desktops */
@media (max-width: 1200px) {
  .nav__list { gap: 32px; }
  .contact { padding: 50px 50px; }
}

/* Tablet */
@media (max-width: 1080px) {
  :root { --header-h: 90px; }
  body { font-size: 18px; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .topbar { display: none; }
  .site-header__logo img, .is-scrolled .site-header__logo img { width: 64px; }
  .is-scrolled .site-header__inner { min-height: var(--header-h); }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; }
  .nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 26px; height: 2px; background: var(--navy); position: relative; transition: transform 0.2s, background 0.2s; }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -8px; }
  .nav__bars::after { top: 8px; }
  .menu-open .nav__bars { background: transparent; }
  .menu-open .nav__bars::before { transform: translateY(8px) rotate(45deg); }
  .menu-open .nav__bars::after { transform: translateY(-8px) rotate(-45deg); }
  .nav__list { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px; overflow-y: auto; }
  .menu-open .nav__list { display: flex; }
  .menu-open .site-header { background: #fff; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a:not(.btn) { display: block; padding: 18px 0; font-size: 20px; }
  .nav__list .nav__cta { border: 0; padding-top: 24px; }
  .nav__list .btn { display: block; text-align: center; }
  .hero__inner, .project, .split, .section--tight .split, .contact { grid-template-columns: 1fr; gap: 36px; }
  .project__text { padding-top: 0; }
  .project + .project { margin-top: 64px; padding-top: 64px; }
  .section--owner .split__text { padding-bottom: 0; }
  .section--owner { padding-bottom: 72px; }
  .split__media--cutout img { max-width: 200px; }
  .project__sticky { position: static; }
  .project__title { font-size: 32px; }
  .split__media--cutout { margin-bottom: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact h2 { font-size: 46px; margin-bottom: 28px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 24px 0 56px; }
  .section__lead { margin-bottom: 40px; }
  .hero { padding: 16px 0 60px; }
  .hero__text h1 { margin-bottom: 16px; }
  .hero__lead { margin-bottom: 28px; }
  .hero__lead { font-size: 20px; line-height: 30px; }
  .hero__media img { border-radius: 16px; }
  .btn { padding: 16px 28px; }
  .page-hero { padding: 20px 0 52px; }
  .project + .project { margin-top: 52px; padding-top: 52px; }
  .project__block { margin-bottom: 28px; }
  .person--wide { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; gap: 20px; }
  .person--wide img { margin: 0 auto; width: 180px; }
  .section--values, .section--owner { padding-top: 56px; }
  .partners { padding: 64px 0; }
  .contact-wrap { padding-bottom: 64px; }
  .project__block h4 { font-size: 20px; }
  .ico-block { width: 24px; height: 24px; }
  .project__block p, .split__text p, .prose p { text-align: left; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .person { padding: 22px 18px; }
  .person img { width: 220px; }
  .contact { padding: 36px 18px; border-radius: 18px; }
  .contact h2 { font-size: 38px; }
  .contact__form { padding: 22px 16px 14px; }
  .partners__list { gap: 24px 40px; }
  .partners__list img { height: 54px; }
  .site-footer__contact { min-width: 0; width: 100%; }
  .site-footer__bottom { flex-direction: column; gap: 14px; }
  .lightbox { padding: 56px 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
