/* Integrace a API — samostatná marketingová stránka. */

.int-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 11vw, 148px) 0 clamp(76px, 9vw, 116px);
  background: var(--grad-hero), var(--paper);
}

.int-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -220px;
  border: 1px solid rgba(14, 111, 184, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(14, 111, 184, .04), 0 0 0 108px rgba(34, 185, 138, .035);
  pointer-events: none;
}

.int-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(52px, 7vw, 94px);
}

.int-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.int-eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--mint-500);
}

.int-hero__title {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.int-hero__title span { color: var(--blue-600); }

.int-hero__lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.int-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.int-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  align-items: center;
  gap: 14px;
  min-height: 420px;
  padding: 28px;
  border: 1px solid rgba(207, 230, 246, .9);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.int-flow__side {
  display: grid;
  gap: 12px;
}

.int-flow__node {
  position: relative;
  padding: 15px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.int-flow__side:first-child .int-flow__node::after,
.int-flow__side:last-child .int-flow__node::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  border-top: 2px solid var(--blue-300);
}

.int-flow__side:first-child .int-flow__node::after { right: -15px; }
.int-flow__side:last-child .int-flow__node::before { left: -15px; border-color: var(--mint-400); }

.int-flow__hub {
  display: flex;
  min-height: 176px;
  padding: 24px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: #0b4b7d;
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 38px rgba(11, 75, 125, .2);
}

.int-flow__hub img {
  width: 70px;
  height: 70px;
  margin-bottom: 12px;
}

.int-flow__hub strong { font-size: 18px; }
.int-flow__hub span { margin-top: 5px; color: var(--blue-100); font-size: 12px; line-height: 1.4; }

.int-section { padding: clamp(74px, 9vw, 120px) 0; }
.int-section--soft { background: var(--n-50); }

.int-section__head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.int-section__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.int-section__lead {
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.int-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.int-card {
  display: flex;
  min-height: 340px;
  padding: 28px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.int-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
}

.int-card__logo {
  display: flex;
  width: 100%;
  height: 82px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.int-card__logo img {
  display: block;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.int-card__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.int-card__tag--mint { background: var(--mint-50); color: var(--mint-700); }

.int-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.int-card p {
  margin: 12px 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.int-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.int-card__link::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
.int-card__link:hover::after { transform: translateX(4px); }
.int-card__link:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 4px; }

.int-card--contact {
  border-color: var(--blue-200);
  background: linear-gradient(145deg, var(--blue-50), var(--mint-50));
}

.int-card__symbol {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 20px;
  background: var(--blue-600);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  box-shadow: var(--shadow-blue);
}

.int-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.int-step {
  padding: 30px;
  border-left: 3px solid var(--blue-300);
  background: var(--surface);
}

.int-step:nth-child(2) { border-color: var(--mint-400); }
.int-step:nth-child(3) { border-color: #8e76de; }

.int-step__number {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.int-step h3 { margin: 13px 0 9px; color: var(--ink); font-size: 21px; }
.int-step p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.int-note {
  max-width: 900px;
  margin: 38px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.int-cta {
  padding: clamp(72px, 9vw, 112px) 0;
  background: #0b4b7d;
  color: #fff;
  text-align: center;
}

.int-cta__inner { max-width: 780px; margin: 0 auto; }
.int-cta h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.1; }
.int-cta p { margin: 20px auto 30px; color: var(--blue-100); font-size: 18px; line-height: 1.6; }
.int-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.int-cta .s-btn--ghost { border-color: rgba(255,255,255,.45); background: transparent; color: #fff; }
.int-cta .s-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

@media (max-width: 980px) {
  .int-hero__grid { grid-template-columns: 1fr; }
  .int-flow { width: min(640px, 100%); margin: 0 auto; }
  .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .int-hero { padding-top: 78px; }
  .int-hero__grid { gap: 46px; }
  .int-hero__actions { align-items: stretch; flex-direction: column; }
  .int-hero__actions .s-btn { width: 100%; justify-content: center; }
  .int-flow { grid-template-columns: 1fr; min-height: 0; padding: 22px; }
  .int-flow__side { grid-template-columns: 1fr 1fr; }
  .int-flow__side:first-child .int-flow__node::after,
  .int-flow__side:last-child .int-flow__node::before { display: none; }
  .int-flow__hub { min-height: 150px; }
  .int-grid, .int-steps { grid-template-columns: 1fr; }
  .int-card { min-height: 310px; }
  .int-section__head { text-align: left; }
  .int-cta__actions { align-items: stretch; flex-direction: column; }
  .int-cta__actions .s-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .int-card, .int-card__link::after { transition: none; }
  .int-card:hover { transform: none; }
}
