:root {
  --gold1: #e6c25e;
  --gold2: #9c7a17;
  --dark: #050505;
  --gray: #1a1a1a;
  --text: #e5e5e5;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Saira", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      ellipse 1400px 600px at 50% -5%,
      rgba(255,255,255,0.06),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      #2a2a2c 0%,
      #3a3a3d 20%,
      #2e2e31 40%,
      #252528 60%,
      #1c1c1e 80%,
      #18181a 100%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

html, body { width: 100%; }

body::before,
body::after {
  content: 'IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;    IF (#PROBLEM = TRUE) THEN    SETIO();  END_IF;';
  position: fixed;
  width: 300px;
  height: 100%;
  font-family: monospace;
  font-size: 0.7rem;
  color: rgba(230, 194, 94, 0.12);
  letter-spacing: 0.05em;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-all;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  top: 0;
}

body::before {
  left: 10px;
}

body::after {
  right: 10px;
}

.hero,
.section,
footer {
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
#poptavka {
  scroll-snap-stop: normal; /* místo always */
}

.hero {
  min-height: 100vh;
  text-align: center;
  padding: 5rem 1.5rem;
}



.logo-setio {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  font-size: 8.4rem;
  letter-spacing: 0.02em;
  margin-bottom: 3.2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-setio:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .logo-setio {
    font-size: 5.4rem;
  }
  
  .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
  }
}

.logo-set {
  color: #ffffff;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0;
}

.logo-io {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #a6a6a6, #ffffff);
  padding: 0.04em 0.18em;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

.logo-io-text {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.1em;
  background-image: linear-gradient(180deg, #997300, #ffc000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ===== Mobile layout fixes ===== */
@media (max-width: 600px) {

  html { scroll-snap-type: none !important; }
  html, body { scroll-behavior: auto !important; }

  .hero, .section, footer {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }

  /* Na mobilu vypnout ty boční “kódové” sloupce */
  body::before,
  body::after { display: none; }

  /* Bezpečné okraje i pro iPhone “notch” */
  .hero,
  .section {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Logo – ať nikdy nepřetéká */
  .logo-setio { font-size: clamp(3.2rem, 14vw, 4.6rem); }

  /* Tlačítka – na mobilu radši hezky do sloupce a max šířka */
  .buttons {
    gap: 0.8rem;
    margin-top: 2.2rem;
  }

  .hero .buttons .btn {
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 1rem 1.2rem;
}

  /* Kontakt box – menší vnitřní “bílé okraje” */
  .contact {
    padding: 1.4rem;
  }
  .hero .buttons .btn {
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 1rem 1.2rem;
}
  
  
}



h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: 0.15em;
}

.subtitle {
  margin: 1.5rem auto 5rem auto;
  color: #aaa;
  font-size: 1.15rem;
  line-height: 1.6;
}

.code {
  display: none;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 4.5rem;
}

.btn {
  padding: 1.4rem 3rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 194, 94, 0.3);
}

@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
    align-items: center;          /* <-- klíčové */
    gap: 0.9rem;
    margin-top: 2.5rem;
  }

  .buttons .btn {
    width: min(100%, 360px);      /* <-- vycentrované, bez "uhnutí" */
    margin-inline: auto;
    text-align: center;
    padding: 1.1rem 1.2rem;
    font-size: 1rem;
  }
}

.primary:hover {
  background: linear-gradient(145deg, #f0d070, #b88d1f);
  box-shadow: 0 8px 25px rgba(230, 194, 94, 0.5);
}

.outline:hover {
  background: rgba(230, 194, 94, 0.1);
  border-color: #f0d070;
  color: #f0d070;
}

.primary {
  background: linear-gradient(145deg, var(--gold1), var(--gold2));
  color: #111;
}

.outline {
  border: 1px solid var(--gold1);
  color: var(--gold1);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section.dark {
  padding: 5rem 1.5rem;
}

h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.15em;
  font-size: 2.8rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.card {
  border: 1px solid #333;
  padding: 1.6rem;
  text-align: center;
  background: rgba(0,0,0,0.35);
  width: 100%;
  max-width: 350px;
  flex: 0 1 calc(33.333% - 1.2rem);
  min-width: 260px;
  border-radius: 8px;
}

.card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230, 194, 94, 0.15), rgba(156, 122, 23, 0.15));
  border-radius: 12px;
  border: 1px solid rgba(230, 194, 94, 0.3);
}

.card-icon i {
  width: 28px;
  height: 28px;
  color: var(--gold1);
}

.card h3 {
  margin-bottom: 0.8rem;
  color: var(--gold1);
  font-size: 1rem;
  font-weight: 600;
}

.card p {
  color: #bbb;
  line-height: 1.5;
}

.tech-card h3 .amp{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
  display: inline-block;
  margin: 0 0.18em;
  transform: translateY(-0.02em);
}


@media (max-width: 900px) {
  .card {
    flex: 0 1 calc(50% - 1.2rem);
  }
}

@media (max-width: 600px) {
  .card {
    flex: 0 1 100%;
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

.tech-card {
  background: rgba(0,0,0,0.35);
  border: 1px solid #333;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.tech-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230, 194, 94, 0.15), rgba(156, 122, 23, 0.15));
  border-radius: 12px;
  border: 1px solid rgba(230, 194, 94, 0.3);
}

.tech-icon i {
  width: 28px;
  height: 28px;
  color: var(--gold1);
}

.tech-card h3 {
  color: var(--gold1);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tech-items span {
  color: #bbb;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact {
  text-align: center;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid #333;
  border-radius: 12px;
}

.contact strong {
  font-size: 1.8rem;
  color: var(--gold1);
  margin-bottom: 0.5rem;
}

.contact > span:nth-child(2) {
  color: #999;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact a {
  color: var(--gold1);
  text-decoration: none;
}



.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid #444;
  border-radius: 4px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Kompaktnější sekce s formulářem (desktop) */
#poptavka.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#poptavka h2 {
  margin-bottom: 1.6rem;
}

/* Těsnější form layout */
#poptavka .form-group {
  margin-bottom: 0.75rem;
}

#poptavka .form-group label {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

#poptavka .form-group input,
#poptavka .form-group select,
#poptavka .form-group textarea {
  padding: 0.6rem;
}
.contact-form .btn {
  width: 100%;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.contact-row {
  display: flex;
  align-items: center;       /* <-- jedna osa */
  justify-content: center;
  gap: 0.55rem;
}

.contact-row svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #777;
  font-size: 0.85rem;
}
/* ===== Modal (thank you) ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open { display: block; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  max-width: 520px;
  margin: 12vh auto;
  padding: 1.6rem 1.4rem;
  background: rgba(0,0,0,0.9);
  border: 1px solid #333;
  border-radius: 12px;
  color: var(--text);
}

.modal__dialog h3 {
  margin: 0 0 0.6rem 0;
  color: var(--gold1);
}

.modal__actions { margin-top: 1rem; }

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #aaa;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .modal__dialog { margin: 14vh 1rem; }
}


.split-title{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:0.55rem;
  flex-wrap:wrap; /* když je úzká šířka, hezky se to zalomí */
}

.split-slash{
  color: var(--gold1);
  opacity: 0.85;
  font-weight: 700;
  transform: translateY(-0.05em);
}

.title-divider{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.7rem;
}

.title-divider .divider{
  width: min(340px, 70%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold1), transparent);
  opacity: 0.9;
}

.split-title.tech{ gap: 0.9rem; }

.tech-sep{
  width: 34px;
  height: 2px;
  background: var(--gold1);
  opacity: 0.8;
  transform: rotate(-18deg);
}

