/* ============================================================
   organizations-redesign.css
   Scoped entirely within .t2a-org — no impact on shared nav/footer/layout.
   New B2B visual language (blue/purple, Figtree body, Google Sans Flex
   headings) introduced by the "Talk2Amy Landing" redesign, kept local to
   this page's content only.
   Reuses shared building blocks from theme.css (scss/components/_t2a-landing.scss)
   where they apply 1:1: .t2a-container, reveal animation.
   ============================================================ */

.t2a-org {
  --org-blue: #2E7DE0;
  --org-blue-dark: #1f63c4;
  --org-purple: #8440D8;
  --org-purple-dark: #6a2fb6;
  /* Schools audience card only — kept separate from --org-purple (used by
     the Professionals card) so the two can have different accent colors
     even though they currently share the "purple" visual family. Matches
     --sch-purple in schools-redesign.css. */
  --org-sch: #807be8;
  --org-sch-dark: #5d57d9;
  --org-ink: #16243d;
  --org-muted: #43536b;
  --org-line: #d8e3f2;
  --org-bg-soft: #f4f9ff;
  --org-radius-lg: 24px;
  --org-radius: 20px;
  --org-sans: 'Figtree', 'Noto Sans', system-ui, -apple-system, sans-serif;
  --org-section-y: 96px;
  --org-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  font-family: var(--org-sans);
  color: var(--org-muted);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.t2a-org *, .t2a-org *::before, .t2a-org *::after { box-sizing: border-box; }
.t2a-org img { max-width: 100%; display: block; }
.t2a-org a { color: inherit; text-decoration: none; }
.t2a-org h1, .t2a-org h2, .t2a-org h3, .t2a-org h4 { margin: 0; line-height: 1.1; font-family: 'Google Sans Flex', var(--org-sans); }
.t2a-org p { margin: 0; }

.t2a-org .t2a-org-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.t2a-org .t2a-org-section { padding: var(--org-section-y) 0; position: relative; }
.t2a-org .t2a-org-section--tight { padding-top: 40px; padding-bottom: 40px; }
.t2a-org .t2a-org-section--soft { background: var(--org-bg-soft); }

.t2a-org .t2a-org-title {
  font-family: 'Google Sans Flex', var(--org-sans);
  font-size: 40px;
  font-weight: 800;
  color: var(--org-ink);
  text-align: center;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.t2a-org .t2a-org-lead {
  text-align: center;
  color: var(--org-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 16px;
}
.t2a-org .t2a-org-emph { color: var(--org-blue); }

/* ---------- Buttons ---------- */
.t2a-org .t2a-org-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 15px 32px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.t2a-org .t2a-org-btn--primary {
  background: var(--org-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 125, 224, 0.35);
}
.t2a-org .t2a-org-btn--primary:hover { background: var(--org-blue-dark); color: #fff; transform: translateY(-2px); text-decoration: none; }
.t2a-org .t2a-org-btn--ghost {
  background: #fff;
  color: var(--org-ink);
  border: 1.5px solid var(--org-line);
}
.t2a-org .t2a-org-btn--ghost:hover { border-color: var(--org-blue); color: var(--org-blue); text-decoration: none; }
.t2a-org .t2a-org-btn--onlight {
  background: #fff;
  color: var(--org-ink);
  box-shadow: 0 10px 26px rgba(10, 20, 50, 0.25);
}
.t2a-org .t2a-org-btn--onlight:hover { background: #eef4fd; text-decoration: none; }
.t2a-org .t2a-org-btn--outline-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.t2a-org .t2a-org-btn--outline-light:hover { background: rgba(255, 255, 255, 0.22); text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
/* padding-top clears the shared site nav (position:fixed, ~91px tall) plus
   breathing room to match the reference design's gap under the pill nav. */
.t2a-org .t2a-org-hero { background: linear-gradient(180deg, #f4f9ff 0%, #e7f2fd 100%); padding: 190px 0 0; overflow: hidden; }
.t2a-org .t2a-org-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 0;
}
.t2a-org .t2a-org-hero__eyebrow { color: var(--org-blue); font-weight: 700; font-size: 24px; margin-bottom: 14px; }
.t2a-org .t2a-org-hero__title {
  font-size: 48px;
  font-weight: 900;
  color: var(--org-ink);
  line-height: 1.14;
  letter-spacing: -1px;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.t2a-org .t2a-org-hero__sub { font-size: 16px; line-height: 1.65; max-width: 520px; margin: 0 0 30px; }
/* Without an explicit weight, <strong> here only renders at 500 (not
   truly bold) — same fix as .t2a-hero__sub on Individuals
   (individuals-redesign.css). */
.t2a-org .t2a-org-hero__sub strong { font-weight: 700; color: var(--org-ink); }
.t2a-org .t2a-org-hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.t2a-org .t2a-org-hero__photo { width: 100%; height: auto; max-width: 640px; margin: 0 auto; }

/* Amy speech bubbles overlaid on the hero photo — copied from Individuals
   (.t2a-hero__bubble in individuals-redesign.css), same two-bubble layout. */
.t2a-org .t2a-org-hero__photo-wrap { position: relative; max-width: 640px; margin: 0 auto; }
.t2a-org .t2a-org-hero__bubble {
  position: absolute;
  left: -18px;
  top: 52%;
  background: #fff;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 10px 16px;
  font-family: var(--org-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--org-ink);
  box-shadow: 0 12px 30px rgba(18, 35, 43, 0.12);
}
.t2a-org .t2a-org-hero__bubble--note {
  left: 14px;
  right: auto;
  top: calc(52% + 54px);
  bottom: auto;
  max-width: 240px;
  font-weight: 700;
  font-size: 16px;
  color: var(--org-ink);
}
.t2a-org .t2a-org-hero__bubble .t2a-hl-blue { color: #11a9e8; }
/* ---------- Trust logos ---------- */
.t2a-org .t2a-org-trust { padding: 64px 0 30px; }
.t2a-org .t2a-org-trust__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8ba0bd;
  margin-bottom: 26px;
}
.t2a-org .t2a-org-marquee { overflow: hidden; position: relative; }
.t2a-org .t2a-org-marquee::before,
.t2a-org .t2a-org-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.t2a-org .t2a-org-marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.t2a-org .t2a-org-marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.t2a-org .t2a-org-marquee__track {
  display: flex; align-items: center; gap: 72px; width: max-content;
  animation: t2a-org-marquee 32s linear infinite;
}
.t2a-org .t2a-org-marquee__track img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s ease, opacity 0.2s ease; }
.t2a-org .t2a-org-marquee__track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes t2a-org-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   "V ČEM POMŮŽE" — 4-tile feature grid
   ============================================================ */
.t2a-org .t2a-org-help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.t2a-org .t2a-org-help-card {
  background: var(--org-bg-soft);
  border-radius: var(--org-radius);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.t2a-org .t2a-org-help-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(22, 36, 61, 0.12); }
.t2a-org .t2a-org-help-card__icon {
  width: 80px; height: 80px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; border: 3px solid var(--org-blue);
  align-self: center;
  margin-bottom: 10px;
}
.t2a-org .t2a-org-help-card--purple .t2a-org-help-card__icon { border-color: var(--org-purple); }
.t2a-org .t2a-org-help-card__icon svg { width: 38px; height: 38px; stroke: var(--org-blue); fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.t2a-org .t2a-org-help-card--purple .t2a-org-help-card__icon svg { stroke: var(--org-purple); }
.t2a-org .t2a-org-help-card__title { font-size: 24px; font-weight: 700; color: var(--org-ink); text-align: center; }
.t2a-org .t2a-org-help-card p { font-size: 16px; line-height: 1.6; text-align: center; }

/* ============================================================
   "PRO KOHO" — 4-card audience grid
   ============================================================ */
.t2a-org .t2a-org-audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.t2a-org .t2a-org-audience-card {
  background: #fff;
  border-radius: var(--org-radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 26px rgba(22, 36, 61, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.t2a-org .t2a-org-audience-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22, 36, 61, 0.14); text-decoration: none; }
.t2a-org .t2a-org-audience-card:hover .t2a-org-audience-card__link { color: var(--org-blue-dark); }
.t2a-org .t2a-org-audience-card:hover .t2a-org-audience-card__link--purple { color: var(--org-purple-dark); }
.t2a-org .t2a-org-audience-card:hover .t2a-org-audience-card__link--green { color: #1f6a41; }
.t2a-org .t2a-org-audience-card:hover .t2a-org-audience-card__link--sch { color: var(--org-sch-dark); }
.t2a-org .t2a-org-audience-card__media { padding: 22px 22px 0; }
.t2a-org .t2a-org-audience-card__media--blue { background: linear-gradient(180deg, #eaf3ff 0%, #fff 100%); }
.t2a-org .t2a-org-audience-card__media--purple { background: linear-gradient(180deg, #f3ebff 0%, #fff 100%); }
.t2a-org .t2a-org-audience-card__media--green { background: linear-gradient(180deg, #e9f5ee 0%, #fff 100%); }
.t2a-org .t2a-org-audience-card__media--sch { background: linear-gradient(180deg, #ecebff 0%, #fff 100%); }
.t2a-org .t2a-org-audience-card__media img { width: 100%; height: auto; display: block; margin: 0 auto; }
.t2a-org .t2a-org-audience-card__body { padding: 24px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.t2a-org .t2a-org-audience-card__title { font-size: 24px; font-weight: 700; color: var(--org-ink); }
.t2a-org .t2a-org-audience-card__body p { font-size: 16px; line-height: 1.6; }
.t2a-org .t2a-org-audience-card__link { margin-top: auto; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; color: var(--org-blue); }
.t2a-org .t2a-org-audience-card__link--purple { color: var(--org-purple); }
.t2a-org .t2a-org-audience-card__link--green { color: #2e8b57; }
.t2a-org .t2a-org-audience-card__link--sch { color: var(--org-sch); }
.t2a-org .t2a-org-audience-card__link:hover { color: var(--org-blue-dark); text-decoration: none; }
.t2a-org .t2a-org-audience-card__link--purple:hover { color: var(--org-purple-dark); }
.t2a-org .t2a-org-audience-card__link--green:hover { color: #1f6a41; }
.t2a-org .t2a-org-audience-card__link--sch:hover { color: var(--org-sch-dark); }

/* ---------- Mid-page CTA strip ---------- */
.t2a-org .t2a-org-midcta {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  padding: 64px 0 8px;
}
.t2a-org .t2a-org-midcta p { font-size: 18px; font-weight: 600; color: var(--org-ink); max-width: 560px; }

/* ============================================================
   "JAK FUNGUJE" — 3-step grid
   ============================================================ */
.t2a-org .t2a-org-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.t2a-org .t2a-org-step { display: flex; flex-direction: column; gap: 8px; transition: transform 0.25s ease; }
.t2a-org .t2a-org-step:hover { transform: translateY(-6px); }
.t2a-org .t2a-org-step__media {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block;
  border-radius: 22px; box-shadow: 0 14px 34px rgba(22, 36, 61, 0.12); margin-bottom: 14px;
}
/* Flat bold numeral (matches the Individuals page's step numbers) — no
   hand-drawn script font. */
.t2a-org .t2a-org-step__num { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--org-blue); }
.t2a-org .t2a-org-step--2 .t2a-org-step__num { color: #5a5ede; }
.t2a-org .t2a-org-step--3 .t2a-org-step__num { color: var(--org-purple); }
.t2a-org .t2a-org-step__title { font-size: 24px; font-weight: 700; color: var(--org-ink); }
.t2a-org .t2a-org-step p { font-size: 16px; line-height: 1.6; }
.t2a-org .t2a-org-step__chatmock {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 14px 34px rgba(22, 36, 61, 0.12);
  margin-bottom: 14px;
}
.t2a-org .t2a-org-step__chatbubble {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #fff;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 26px rgba(22, 36, 61, 0.12);
  padding: 12px 14px;
  font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--org-ink);
  max-width: 160px;
}
/* Photo now fills the whole panel edge-to-edge (object-fit:cover) instead
   of sitting at 58% width bottom-right — the new photo is a normal
   rectangular shot, not the transparent portrait cutout this was tuned for. */
.t2a-org .t2a-org-step__chatmock img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t2a-org .t2a-org-steps-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ============================================================
   SAFETY / TRUST
   ============================================================ */
.t2a-org .t2a-org-safety {
  max-width: 860px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.t2a-org .t2a-org-safety__icon {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--org-blue);
  display: flex; align-items: center; justify-content: center;
}
.t2a-org .t2a-org-safety__icon svg { width: 30px; height: 30px; stroke: var(--org-blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t2a-org .t2a-org-safety__lead { font-size: 18px; font-weight: 600; color: var(--org-ink); }
.t2a-org .t2a-org-safety__text { font-size: 16px; line-height: 1.7; max-width: 640px; }

/* ============================================================
   FINAL CTA — gradient band
   ============================================================ */
.t2a-org .t2a-org-finalcta {
  background: linear-gradient(120deg, #2E7DE0 0%, #5a5ede 55%, #8440D8 100%);
}
.t2a-org .t2a-org-finalcta__inner {
  max-width: 860px; margin: 0 auto; padding: 84px 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.t2a-org .t2a-org-finalcta__title { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -0.5px; text-wrap: pretty; }
.t2a-org .t2a-org-finalcta__text { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.88); max-width: 600px; }
.t2a-org .t2a-org-finalcta__actions { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   SCROLL REVEAL (same mechanism as shared theme.css .reveal)
   ============================================================ */
/* Uses the standalone `translate` property (not `transform`) for the entrance
   offset, so it can never out-specificity a `:hover { transform: ... }` rule
   on the same element (e.g. a card's hover-lift) — the two properties compose
   independently instead of competing for the same `transform` declaration.
   The `transition` shorthand here also folds in the hover-lift's own
   transform/box-shadow timing (shared by every hover-lift card on this page)
   — `transition` is a single property, so this higher-specificity rule would
   otherwise silently replace a card's own `transition: transform ...` and
   leave its hover state animating abruptly (no transition at all). */
.t2a-org .reveal { opacity: 1; translate: 0 0; }
.t2a-org.t2a-org-ready .reveal {
  opacity: 0; translate: 0 24px;
  transition: opacity 0.7s var(--org-ease), translate 0.7s var(--org-ease), transform 0.25s ease, box-shadow 0.25s ease;
}
.t2a-org.t2a-org-ready .reveal.in { opacity: 1; translate: 0 0; }
.t2a-org .reveal.d1 { transition-delay: 0.08s; }
.t2a-org .reveal.d2 { transition-delay: 0.16s; }
.t2a-org .reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
  .t2a-org { --org-section-y: 70px; }
  /* Same small, consistent top gap as every other page hero below xl —
     see the matching rule/comment in companies-redesign.css. */
  .t2a-org .t2a-org-hero { padding-top: 24px; }
  /* Tighter logo spacing in the trust marquee on mobile — see the matching
     rule/comment in companies-redesign.css. Desktop untouched. */
  .t2a-org .t2a-org-marquee__track { gap: 24px; }
  .t2a-org .t2a-org-hero__grid { grid-template-columns: 1fr; }
  .t2a-org .t2a-org-hero__photo { max-width: 420px; }
  /* Both speech bubbles stacked bottom-left over the photo, equal gap between
     them and from the photo's own left/bottom edges — see the matching rule/
     comment in individuals-redesign.css (same copied bubble pattern). */
  .t2a-org .t2a-org-hero__bubbles {
    position: absolute;
    left: 12px;
    bottom: 15%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: calc(100% - 24px);
  }
  .t2a-org .t2a-org-hero__bubble,
  .t2a-org .t2a-org-hero__bubble--note {
    position: static;
    max-width: 100%;
  }
  .t2a-org .t2a-org-help-grid { grid-template-columns: repeat(2, 1fr); }
  .t2a-org .t2a-org-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .t2a-org .t2a-org-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .t2a-org .t2a-org-container { padding: 0 20px; }
  .t2a-org .t2a-org-help-grid { grid-template-columns: 1fr; }
  .t2a-org .t2a-org-help-card { align-items: center; text-align: center; }
  .t2a-org .t2a-org-audience-grid { grid-template-columns: 1fr; }
  .t2a-org .t2a-org-audience-card__title { text-align: center; }
  /* "Jak Talk2Amy funguje" steps: number, image, title, text — desktop
     keeps the DOM order (image, number, title, text). */
  .t2a-org .t2a-org-step__num { order: 1; }
  .t2a-org .t2a-org-step__media,
  .t2a-org .t2a-org-step__chatmock { order: 2; }
  .t2a-org .t2a-org-step__title { order: 3; }
  .t2a-org .t2a-org-step p { order: 4; }
  .t2a-org .t2a-org-hero__actions { flex-direction: column; align-items: stretch; }
  .t2a-org .t2a-org-hero__actions .t2a-org-btn { width: 100%; }
  .t2a-org .t2a-org-finalcta__actions { flex-direction: column; align-items: stretch; }
}
