/* ==========================================================================
   TOP IZOL — veřejný web
   Barvy a rozměry vycházejí z prototypu (design canvas). Desktop je 1280px
   obsahová šířka, níž se rozvržení láme na 1100 / 900 / 620 px.
   ========================================================================== */

:root {
  --navy-900: #0A2A47;
  --navy-800: #0B2C4C;
  --navy-700: #0E3358;
  --navy-600: #12406B;
  --blue-700: #14497F;
  --blue-600: #1B62A8;
  --blue-500: #2A73BC;
  --blue-200: #7FB8EC;
  --ink:      #16202B;
  --body:     #46586B;
  --muted:    #78899B;
  --line:     #DAE3EC;
  --paper:    #F7F9FB;
  --paper-2:  #EEF3F8;
  --paper-3:  #F5F7FA;
  --light:    #EAF1F8;
  --input-bg: #08243D;

  --wrap: 1280px;
  --pad: 40px;

  --sans: Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: Outfit, Figtree, system-ui, sans-serif;
}

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

/* Modaly, menu i lightbox mají display:flex — bez tohohle by je atribut hidden
   nezhasnul, protože pravidlo třídy přebije display:none z prohlížeče. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  background: var(--navy-600);
  color: var(--light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.ti-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

.ti-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue-600); color: #fff; padding: 12px 20px;
}
.ti-skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--blue-200); outline-offset: 2px; }

/* ---------------------------------------------------------- typografie */

.ti-h1 {
  font-family: var(--head); font-weight: 700; font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.03; letter-spacing: -.025em; text-wrap: balance;
}
.ti-h1 .ti-pre { white-space: pre-line; }
.ti-h1 .ti-accent { color: var(--blue-600); }
.ti-hero .ti-h1 .ti-accent { color: var(--blue-200); }

.ti-h2 {
  font-family: var(--head); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1; letter-spacing: -.02em; color: var(--ink); max-width: 620px;
}
.ti-h2-light { color: var(--light); }

.ti-body { font-size: 16px; line-height: 1.8; color: var(--body); text-wrap: pretty; }
.ti-muted { color: var(--muted); font-size: 13px; }
.ti-dim { opacity: .8; }

.ti-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; color: var(--blue-600);
}
.ti-eyebrow i { width: 26px; height: 2px; background: currentColor; flex: none; }
.ti-eyebrow-light { color: var(--blue-200); }
.ti-eyebrow-plain { display: block; color: rgba(255,255,255,.7); }

.ti-textlink {
  font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--blue-600);
  white-space: nowrap; border-bottom: 1px solid rgba(27,98,168,.4); padding-bottom: 4px;
}
.ti-textlink:hover { border-bottom-color: var(--blue-600); }

.ti-rule { border: 0; height: 1px; background: rgba(255,255,255,.25); }

/* ------------------------------------------------------------- tlačítka */

.ti-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 16px 30px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: background-color .18s, border-color .18s, color .18s;
}
.ti-btn-primary { background: var(--blue-600); color: #fff; }
.ti-btn-primary:hover { background: var(--blue-700); }
.ti-btn-primary:disabled { opacity: .6; cursor: wait; }
.ti-btn-outline { background: transparent; color: var(--light); border-color: rgba(255,255,255,.25); }
.ti-btn-outline:hover { border-color: var(--light); }
.ti-btn-ghost {
  background: transparent; color: var(--blue-200);
  border-color: rgba(127,184,236,.45); padding: 13px 22px; font-size: 14px;
}
.ti-btn-ghost:hover { border-color: var(--blue-200); }
.ti-btn-block { width: 100%; margin-top: 6px; padding: 17px 24px; border-radius: 3px; }

/* ------------------------------------------------------------ horní lišta */

.ti-topbar { background: var(--navy-700); border-bottom: 1px solid rgba(255,255,255,.07); }
.ti-topbar-in {
  height: 42px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; font-size: 12.5px; letter-spacing: .02em; color: rgba(226,238,250,.55);
}
.ti-topbar-right { display: flex; align-items: center; gap: 20px; }
.ti-topbar-right a { color: rgba(226,238,250,.75); }
.ti-topbar-right a:hover { color: var(--light); }
.ti-topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,.14); }

/* -------------------------------------------------------------- hlavička */

.ti-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,51,88,.93);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ti-header-in { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.ti-brand { display: flex; align-items: center; gap: 12px; color: var(--light); }
.ti-logo { width: 34px; height: 34px; flex: none; }
.ti-logo-sm { width: 26px; height: 26px; }
.ti-brand-text { display: flex; flex-direction: column; line-height: 1; }
.ti-brand-name { font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.ti-brand-tag { font-size: 9.5px; letter-spacing: .22em; color: rgba(226,238,250,.45); margin-top: 4px; }

.ti-nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.ti-nav a { color: rgba(226,238,250,.7); }
.ti-nav a:hover, .ti-nav a.active { color: var(--light); }

.ti-header-cta { padding: 13px 22px; font-size: 14px; }

.ti-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px;
}
.ti-burger span { display: block; height: 2px; background: var(--light); }

/* ---------------------------------------------------------- mobilní menu */

.ti-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--navy-700);
  display: flex; flex-direction: column; padding: 0 24px 32px;
}
.ti-menu-head { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.ti-menu-close { background: none; border: 0; font-size: 34px; line-height: 1; color: var(--light); cursor: pointer; }
.ti-menu-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.ti-menu-nav a {
  font-family: var(--head); font-weight: 600; font-size: 24px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--light);
}
.ti-menu-cta {
  margin-top: 24px; background: var(--blue-600); border: 0 !important;
  text-align: center; border-radius: 4px; font-size: 17px !important;
}

/* ------------------------------------------------------------------ hero */

.ti-hero {
  position: relative; min-height: 660px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.ti-hero-media { position: absolute; inset: 0; }
.ti-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ti-hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(10,42,71,.93) 0%, rgba(10,42,71,.72) 42%, rgba(10,42,71,.18) 100%);
}
.ti-hero-in {
  position: relative; width: 100%;
  padding-top: 120px; padding-bottom: 0;
  display: flex; flex-direction: column; gap: 56px;
}
.ti-hero-copy { max-width: 660px; display: flex; flex-direction: column; gap: 26px; }
.ti-hero-text { font-size: 17.5px; line-height: 1.65; color: rgba(226,238,250,.72); max-width: 560px; text-wrap: pretty; }
.ti-hero-actions { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }

.ti-hero-usp-wrap { display: flex; justify-content: flex-end; }
.ti-usp {
  list-style: none; background: var(--blue-600); padding: 30px 34px; max-width: 520px;
  display: flex; flex-direction: column; gap: 14px;
}
.ti-usp li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #fff; }
.ti-usp li + li { border-top: 1px solid rgba(255,255,255,.22); padding-top: 14px; }
.ti-usp-num { font-family: var(--head); font-weight: 700; color: rgba(255,255,255,.6); flex: none; }

/* --------------------------------------------------------------- milníky */

.ti-stats { background: var(--navy-700); border-bottom: 1px solid rgba(255,255,255,.07); }
.ti-stats-in { padding-block: 38px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ti-stat { display: flex; gap: 14px; align-items: baseline; }
.ti-stat-val { font-family: var(--head); font-weight: 700; font-size: 38px; letter-spacing: -.02em; color: var(--blue-200); }
.ti-stat-lab { font-size: 13.5px; line-height: 1.4; color: rgba(226,238,250,.6); }

/* -------------------------------------------------------------- o firmě */

.ti-about { background: var(--paper); color: var(--ink); }
.ti-about-in {
  padding-block: 110px; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 80px; align-items: start;
}
.ti-about-copy { display: flex; flex-direction: column; gap: 24px; }
.ti-quote {
  border-left: 3px solid var(--blue-600); padding: 4px 0 4px 22px; margin-top: 8px;
  font-family: var(--head); font-weight: 500; font-size: 19px; line-height: 1.5;
  color: var(--ink); max-width: 520px;
}
.ti-about-call {
  display: flex; align-items: center; gap: 18px;
  margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line);
}
.ti-about-call-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue-600);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ti-about-call-icon svg { width: 20px; height: 20px; }
.ti-about-call-text { display: flex; flex-direction: column; gap: 3px; }
.ti-about-call-text a { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); }
.ti-about-call-text a:hover { color: var(--blue-600); }

.ti-about-media { position: relative; padding-bottom: 64px; }
.ti-about-frame { height: 520px; background: var(--paper-2); }
.ti-about-frame img { width: 100%; height: 100%; object-fit: cover; }
.ti-about-badge {
  position: absolute; left: -28px; bottom: 0; background: var(--blue-600); color: #fff;
  padding: 22px 28px; display: flex; align-items: baseline; gap: 10px;
}
.ti-about-badge-val { font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1; }
.ti-about-badge-txt { font-size: 13px; line-height: 1.35; max-width: 150px; }

/* -------------------------------------------------------- co provádíme */

.ti-services { background: var(--paper-2); color: var(--ink); padding-block: 100px; }
.ti-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 48px;
}
.ti-sec-head > div { display: flex; flex-direction: column; gap: 20px; }

.ti-svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.ti-svc {
  background: #fff; padding: 34px 30px; min-height: 180px;
  display: flex; flex-direction: column; gap: 14px; text-align: left;
  border: 0; cursor: pointer; transition: background-color .18s;
}
.ti-svc:hover { background: var(--paper-3); }
.ti-svc-num { font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--blue-600); }
.ti-svc-title { font-family: var(--head); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); }
.ti-svc-more { margin-top: auto; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.ti-svc:hover .ti-svc-more { color: var(--blue-600); }

.ti-svc.is-highlight { background: var(--navy-600); }
.ti-svc.is-highlight:hover { background: var(--navy-700); }
.ti-svc.is-highlight .ti-svc-title { color: var(--light); }
.ti-svc.is-highlight .ti-svc-more { color: var(--blue-200); }

/* ------------------------------------------------------- retenční nádrže */

.ti-retence { background: var(--blue-500); color: #fff; }
.ti-retence-in {
  padding-block: 96px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.ti-retence-copy { display: flex; flex-direction: column; gap: 26px; }
.ti-retence-sub { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.ti-retence-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px 28px; font-size: 15px; line-height: 1.45;
}
.ti-retence-list li { display: flex; gap: 10px; }
.ti-retence-list li::before { content: '—'; color: rgba(255,255,255,.6); flex: none; }
.ti-retence-media { height: 440px; }
.ti-retence-media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- reference */

.ti-refs { background: var(--paper-3); color: var(--ink); padding-block: 104px; }
.ti-ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ti-ref {
  display: flex; flex-direction: column; gap: 14px; text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
}
.ti-ref-media { height: 230px; background: var(--paper-2); overflow: hidden; position: relative; }
.ti-ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ti-ref:hover .ti-ref-media img { transform: scale(1.045); }
.ti-ref-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px;
}
.ti-ref-count {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(14,51,88,.82); color: #fff; font-size: 12px;
  padding: 5px 10px; border-radius: 3px;
}
.ti-ref-title { font-family: var(--head); font-weight: 600; font-size: 17px; }
.ti-ref:hover .ti-ref-title { color: var(--blue-600); }

/* -------------------------------------------------------------- partneři */

.ti-partners { background: var(--paper); color: var(--ink); }
.ti-partners-in { padding-block: 64px; display: flex; align-items: center; gap: 56px; }
.ti-partners-label { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--muted); flex: none; }
.ti-partners-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px;
  font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .06em;
}
.ti-partners-list a, .ti-partners-list span { color: var(--body); }
.ti-partners-list a:hover { color: var(--blue-600); }

/* -------------------------------------------------------------- kontakt */

.ti-contact { background: var(--navy-700); padding-block: 100px; }
.ti-contact-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; max-width: 640px; }
.ti-contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }

.ti-form-card { background: var(--navy-800); border: 1px solid rgba(255,255,255,.10); padding: 38px 36px; }

/* Rám s poptávkovým formulářem ze systému OVEČKA. Formulář si nese vlastní
   světlé pozadí i odsazení, proto kolem něj nekreslíme druhou kartu — jen mu
   dáme celou šířku sloupce a výšku podle nastavení v administraci. */
.ti-form-embed { display: flex; flex-direction: column; }
.ti-embed { background: #fff; border: 1px solid rgba(255,255,255,.10); overflow: hidden; }
.ti-embed-frame { display: block; width: 100%; border: 0; }

.ti-form-note { font-size: 12.5px; color: rgba(226,238,250,.4); margin-top: 14px; }

.ti-form-offline p { font-size: 15.5px; line-height: 1.65; color: rgba(226,238,250,.72); }

.ti-contact-card {
  background: var(--blue-600); color: #fff; padding: 38px 36px;
  display: flex; flex-direction: column; gap: 26px;
}
.ti-contact-company { font-family: var(--head); font-weight: 700; font-size: 24px; }
.ti-contact-block { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; }
.ti-contact-label { font-size: 12.5px; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.ti-contact-name { font-family: var(--head); font-weight: 600; font-size: 17px; }
.ti-contact-block a:hover { text-decoration: underline; }
.ti-contact-fb { font-family: var(--head); font-weight: 600; font-size: 14.5px; }
.ti-contact-fb:hover { text-decoration: underline; }

/* -------------------------------------------------------------- patička */

.ti-footer { background: var(--navy-600); border-top: 1px solid rgba(255,255,255,.08); }
.ti-footer-in {
  padding-block: 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.ti-footer-name { font-family: var(--head); font-weight: 700; font-size: 16px; color: var(--light); letter-spacing: -.01em; }
.ti-footer-nav { display: flex; gap: 26px; font-size: 14px; flex-wrap: wrap; }
.ti-footer-nav a { color: rgba(226,238,250,.55); }
.ti-footer-nav a:hover { color: var(--light); }
.ti-footer-addr { font-size: 13px; color: rgba(226,238,250,.35); }

/* ------------------------------------------------------ detail realizace */

.ti-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ti-modal-backdrop { position: absolute; inset: 0; background: rgba(8,26,45,.78); backdrop-filter: blur(3px); }
.ti-modal-panel {
  position: relative; background: #fff; color: var(--ink);
  width: min(920px, 100%); max-height: 90vh; overflow-y: auto;
}
.ti-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(14,51,88,.72); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.ti-modal-close:hover { background: var(--navy-700); }
.ti-modal-hero { width: 100%; height: clamp(200px, 34vh, 340px); object-fit: cover; }
.ti-modal-content { padding: 34px 38px 40px; display: flex; flex-direction: column; gap: 18px; }
.ti-modal-content h3 { font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.ti-modal-sub { color: var(--muted); font-size: 15px; margin-top: -10px; }
.ti-modal-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.ti-modal-gallery button { border: 0; padding: 0; background: none; cursor: pointer; }
.ti-modal-gallery img { width: 100%; height: 140px; object-fit: cover; }
.ti-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.ti-modal-actions .ti-btn { padding: 14px 24px; font-size: 14.5px; }
.ti-modal-actions .ti-btn-outline { color: var(--blue-600); border-color: rgba(27,98,168,.4); }
.ti-modal-actions .ti-btn-outline:hover { border-color: var(--blue-600); }

/* ------------------------------------------------------------- lightbox */

.ti-lightbox {
  position: fixed; inset: 0; z-index: 140; background: rgba(6,20,35,.94);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.ti-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ti-lb-close, .ti-lb-nav {
  position: absolute; background: rgba(255,255,255,.10); border: 0; color: #fff;
  cursor: pointer; border-radius: 50%; width: 46px; height: 46px; line-height: 1;
}
.ti-lb-close:hover, .ti-lb-nav:hover { background: rgba(255,255,255,.2); }
.ti-lb-close { top: 20px; right: 20px; font-size: 26px; }
.ti-lb-nav { top: 50%; transform: translateY(-50%); font-size: 32px; }
.ti-lb-prev { left: 16px; }
.ti-lb-next { right: 16px; }
.ti-lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 13px; }

/* -------------------------------------------------------- mobilní lišta */

.ti-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(11,44,76,.97); border-top: 1px solid rgba(255,255,255,.10);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.ti-bar a {
  flex: 1; text-align: center; padding: 14px 10px; border-radius: 4px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  border: 1px solid rgba(255,255,255,.22); color: var(--light);
}
.ti-bar .ti-bar-cta { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* ============================================================ responzivita */

@media (max-width: 1180px) {
  :root { --pad: 28px; }
  .ti-nav { gap: 20px; font-size: 14px; }
  .ti-about-in { gap: 48px; }
}

@media (max-width: 1024px) {
  .ti-ref-grid { grid-template-columns: repeat(3, 1fr); }
  .ti-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ti-stats-in { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ti-about-in { grid-template-columns: 1fr; padding-block: 80px; }
  .ti-about-media { padding-bottom: 0; max-width: 620px; }
  .ti-about-frame { height: 420px; }
  .ti-about-badge { left: auto; right: 0; bottom: -1px; }
  .ti-retence-in { grid-template-columns: 1fr; gap: 40px; padding-block: 72px; }
  .ti-retence-media { height: 320px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 78px; }
  .ti-topbar { display: none; }
  .ti-nav, .ti-header-cta { display: none; }
  .ti-burger { display: flex; }
  .ti-hero { min-height: 560px; }
  .ti-hero-in { padding-top: 84px; gap: 36px; }
  .ti-hero-usp-wrap { justify-content: flex-start; }
  .ti-usp { max-width: 100%; }
  .ti-contact-grid { grid-template-columns: 1fr; }
  .ti-contact { padding-block: 72px; }
  .ti-services, .ti-refs { padding-block: 72px; }
  .ti-sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .ti-partners-in { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 48px; }
  .ti-footer-in { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ti-bar { display: flex; }
  body { padding-bottom: 74px; }
  .ti-modal-content { padding: 26px 24px 32px; }
}

@media (max-width: 620px) {
  :root { --pad: 20px; }
  .ti-hero { min-height: 520px; }
  .ti-hero-actions .ti-btn { flex: 1; padding-inline: 18px; }
  .ti-stats-in { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
  .ti-stat-val { font-size: 30px; min-width: 68px; }
  .ti-svc-grid, .ti-ref-grid { grid-template-columns: 1fr; }
  .ti-ref-grid { gap: 26px; }
  .ti-retence-list { grid-template-columns: 1fr; }
  .ti-form-card, .ti-contact-card { padding: 26px 22px; }
  .ti-about-badge { position: static; margin-top: -1px; }
  .ti-lightbox { padding: 56px 12px; }
  .ti-lb-nav { width: 40px; height: 40px; font-size: 26px; }
}
