/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:     #29ffc6;
  --dark:      #0a0a0a;
  --dark-foot: #141414;
  --gray:      #f4f5f7;
  --border:    #e8e8e8;
  --muted:     #555;
  --radius:    12px;
  --px:        1.25rem;
  --nav-h:     60px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, background .2s, color .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary { background: var(--green); color: var(--dark); }
.btn--primary:hover { opacity: .85; }
.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(10,10,10,.25);
}
.btn--outline:hover { border-color: var(--dark); }
.btn--sm { font-size: .875rem; padding: .55rem 1.1rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.navbar.scrolled { border-bottom-color: var(--border); }

.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: .75rem;
}

.navbar__logo img { height: 30px; width: auto; }

.navbar__nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.navbar__nav a {
  font-size: .9375rem;
  font-weight: 500;
  opacity: .65;
  transition: opacity .15s;
}
.navbar__nav a:hover { opacity: 1; }

.navbar__phone {
  display: none;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 500;
  opacity: .7;
  transition: opacity .15s;
}
.navbar__phone:hover { opacity: 1; }
.navbar__phone img { width: 14px; height: 14px; flex-shrink: 0; }

.navbar__cta { margin-left: auto; }

@media (min-width: 600px) {
  .navbar__phone { display: flex; }
  .navbar__cta { margin-left: 0; }
}
@media (min-width: 800px) {
  .navbar__nav { display: flex; }
  .navbar__nav + .navbar__cta { margin-left: 0; }
}

/* ── Section label ───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

/* ── Section heading ─────────────────────────────────────── */
.section-head { margin-bottom: 2rem; }
.section-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 3.5rem 0 3rem;
  background: #fff;
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--dark);
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: clamp(.9375rem, 2.5vw, 1.0625rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero { padding: 5rem 0 4.5rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 6.5rem 0 6rem; }
}

/* ── Intro strip ─────────────────────────────────────────── */
.intro {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intro p {
  font-size: clamp(.9375rem, 2vw, 1.0625rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 680px;
}

@media (min-width: 768px) {
  .intro { padding: 2.75rem 0; }
}

/* ── Services ────────────────────────────────────────────── */
.services { padding: 3.5rem 0; }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .875rem;
}

.services__card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.services__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.services__card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
}

.services__card p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (min-width: 600px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services { padding: 4rem 0; }
}
@media (min-width: 960px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .services { padding: 5rem 0; }
}

/* ── Portfolio ───────────────────────────────────────────── */
.portfolio {
  padding: 3.5rem 0;
  background: var(--gray);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.portfolio__card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}

.portfolio__meta {
  padding: .875rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.portfolio__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--dark);
  transition: color .15s;
}
.portfolio__link:hover { color: #000; }
.portfolio__domain {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: .1rem;
}

.portfolio__screen {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.portfolio__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio__card:hover .portfolio__screen img { transform: scale(1.04); }

@media (min-width: 480px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .portfolio__grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio { padding: 5rem 0; }
}

/* ── Process ─────────────────────────────────────────────── */
.process { padding: 3.5rem 0; }

.process__steps {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.process__step {
  flex: 1;
  background: var(--gray);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.process__step--accent { background: var(--green); }

.process__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.process__step h3 {
  font-size: 1rem;
  font-weight: 700;
}

.process__step p {
  font-size: .9rem;
  opacity: .7;
  line-height: 1.6;
}

@media (min-width: 700px) {
  .process__steps { flex-direction: row; align-items: stretch; }
  .process { padding: 5rem 0; }
}

/* ── Contact ─────────────────────────────────────────────── */
.contact { padding: 3.5rem 0; }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact__info h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.contact__info > p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.contact__addr {
  font-size: .9rem;
  color: var(--muted);
  line-height: 2;
}
.contact__addr a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .75;
  transition: opacity .15s;
}
.contact__addr a:hover { opacity: 1; }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--gray);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form__field label {
  font-size: .875rem;
  font-weight: 600;
}

.form__field input,
.form__field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .7rem .9rem;
  width: 100%;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.form__field.has-error input,
.form__field.has-error textarea { border-color: #dc2626; }

.form__err {
  font-size: .8125rem;
  color: #dc2626;
  display: none;
}
.form__field.has-error .form__err { display: block; }

/* Honeypot – musí být skryté i pro screen readery */
.form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.form__status {
  font-size: .9375rem;
  font-weight: 600;
  display: none;
  padding: .75rem 1rem;
  border-radius: 8px;
}
.form__status--ok  { background: #dcfce7; color: #15803d; }
.form__status--err { background: #fee2e2; color: #dc2626; }

.form__note {
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.6;
}
.form__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__note a:hover { color: var(--dark); }

@media (min-width: 960px) {
  .contact { padding: 5rem 0; }
  .contact__inner { grid-template-columns: 1fr 1.3fr; align-items: start; }
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--dark-foot);
  color: #fff;
  padding: 3rem 0 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer__brand img {
  height: 26px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__addr {
  font-size: .875rem;
  opacity: .55;
  line-height: 2;
}
.footer__addr a { color: inherit; opacity: 1; }

.footer__col h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .4;
  margin-bottom: .875rem;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer__col a {
  font-size: .9375rem;
  opacity: .6;
  transition: opacity .15s;
}
.footer__col a:hover { opacity: 1; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  justify-content: space-between;
  font-size: .8125rem;
  opacity: .4;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
}
.footer__links a { opacity: 1; transition: opacity .15s; }
.footer__links a:hover { opacity: .7; }

@media (min-width: 600px) {
  .footer__main { grid-template-columns: 1.5fr 1fr 1fr; }
  footer { padding-top: 4rem; }
}

/* ── Legal content (Ochrana osobních údajů, Obchodní podmínky) ─ */
.legal { padding: 3rem 0 4rem; }

.legal__header { margin-bottom: 2.5rem; }
.legal__header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.legal__updated {
  font-size: .875rem;
  color: var(--muted);
}

.legal__content { max-width: 760px; }
.legal__content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: .75rem;
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal__content ul,
.legal__content ol {
  margin: 0 0 1rem 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.legal__content ul li,
.legal__content ol li {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}
.legal__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.legal__content ol {
  counter-reset: legal-ol;
}
.legal__content ol li {
  counter-increment: legal-ol;
}
.legal__content ol li::before {
  content: counter(legal-ol) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--dark);
}
.legal__content a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: .8;
}
.legal__content a:hover { opacity: 1; }
.legal__content strong { color: var(--dark); }
.legal__todo {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: .75rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 4px;
  margin-left: .25rem;
}
