/* Transylvania Land Surveying — design layer on top of Themify Ultra + Builder.
   Palette taken from the logo: survey red, ink black, charcoal grey. */

/* Fonts are served from the site itself (no Google Fonts round trip). Both are SIL OFL. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
/* Fallbacks sized to match, so text doesn't jump when the real fonts arrive */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
  size-adjust: 107.06%;
}
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial");
  ascent-override: 84.95%;
  descent-override: 22.03%;
  line-gap-override: 0%;
  size-adjust: 113.95%;
}

:root {
  --tls-red: #be1622;
  --tls-red-dark: #9a111b;
  --tls-red-tint: #fbeced;
  --tls-ink: #1d1d1b;
  --tls-charcoal: #3c3c3b;
  --tls-grey: #575756;
  --tls-grey-light: #6b6b69;
  --tls-line: #e6e6e3;
  --tls-surface: #f6f6f4;
  --tls-white: #ffffff;

  --tls-font-head: "Montserrat", "Montserrat Fallback", Arial, sans-serif;
  --tls-font-body: "Inter", "Inter Fallback", Arial, sans-serif;

  --tls-radius: 10px;
  --tls-radius-lg: 16px;
  --tls-shadow: 0 1px 2px rgba(29, 29, 27, .04), 0 8px 24px rgba(29, 29, 27, .06);
  --tls-shadow-hover: 0 2px 4px rgba(29, 29, 27, .06), 0 16px 40px rgba(29, 29, 27, .10);
  --tls-container: 1180px;
  --tls-gutter: 24px;
  --tls-header-h: 76px;

  /* Ultra's own accent variables, so its widgets match too */
  --theme_accent: #be1622;
  --theme_accent_hover: #9a111b;
  --theme_heading_color: #1d1d1b;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--tls-header-h); }

body.tls {
  margin: 0;
  font-family: var(--tls-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--tls-grey);
  background: var(--tls-white);
  -webkit-font-smoothing: antialiased;
}

.tls img { max-width: 100%; display: block; }
.tls :is(h1, h2, h3, h4) {
  font-family: var(--tls-font-head);
  color: var(--tls-ink);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.01em;
}
.tls :is(p, ul, li) { margin: 0; padding: 0; }
.tls ul { list-style: none; }
.tls a { color: var(--tls-red); }
.tls :focus-visible { outline: 3px solid var(--tls-red); outline-offset: 3px; }

.tls-container {
  width: 100%;
  max-width: var(--tls-container);
  margin: 0 auto;
  padding: 0 var(--tls-gutter);
  box-sizing: border-box;
}

/* ---------- Builder rows → design sections ---------- */
.tls #layout, .tls #content { padding: 0; width: 100%; max-width: none; }
.tls .module_row.tls-sec, .tls .module_row.tls-hero { margin: 0; }
.tls .module_row.tls-sec > .row_inner,
.tls .module_row.tls-hero > .row_inner {
  max-width: var(--tls-container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--tls-gutter);
  box-sizing: border-box;
}
.tls .tls-sec .module { margin: 0; }
.tls .tls-sec--head { padding: 112px 0 0; }
.tls .tls-sec--body { padding: 56px 0 112px; }
.tls .tls-contact { padding: 112px 0; }
.tls .tls-surface { background: var(--tls-surface); }

/* Builder column grid → CSS grid for card rows */
.tls .tls-grid3 > .row_inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
}
/* Services / Projects card grids (rendered from the Services and Projects lists) */
.tls .tls-cards-row .module { margin: 0; }
.tls .tls-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}
.tls .tls-cards > article[hidden] { display: none; }
.tls .tls-cards > .is-revealing { animation: tls-rise .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes tls-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.tls .tls-more-wrap { display: flex; justify-content: center; margin-top: 48px; }
.tls .tls-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 2px solid var(--tls-red);
  border-radius: 0;
  background: var(--tls-white);
  color: var(--tls-red);
  font-family: var(--tls-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(190, 22, 34, .14);
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.tls .tls-more:hover, .tls .tls-more:focus-visible {
  background: var(--tls-red);
  color: var(--tls-white);
  box-shadow: 0 10px 26px rgba(190, 22, 34, .28);
  transform: translateY(-2px);
}
.tls .tls-more__icon {
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s;
  animation: tls-nudge 2.4s ease-in-out infinite;
}
.tls .tls-more[aria-expanded="true"] .tls-more__icon { transform: translateY(2px) rotate(-135deg); animation: none; }
@keyframes tls-nudge {
  0%, 60%, 100% { translate: 0 0; }
  75% { translate: 0 3px; }
}

.tls :is(.tls-grid3, .tls-about, .tls-contact) > .row_inner { grid-template-areas: none !important; }
.tls :is(.tls-grid3, .tls-about, .tls-contact) > .row_inner > .module_column { grid-area: auto !important; }
.tls .tls-grid3 > .row_inner > .module_column { width: auto; margin: 0; display: flex; flex-direction: column; }
/* Every card in a grid is the same size: equal rows, card fills its cell */
.tls .tls-grid3 > .row_inner { grid-auto-rows: 1fr; }
.tls .tls-grid3 .module_column > .module { flex: 1 1 auto; height: auto; }

.tls .tls-about > .row_inner,
.tls .tls-contact > .row_inner {
  display: grid;
  gap: 64px;
  align-items: start;
}
.tls .tls-about > .row_inner { grid-template-columns: 1.05fr 1fr !important; }
.tls .tls-contact > .row_inner { grid-template-columns: 1fr 1.1fr !important; gap: 72px; }
.tls :is(.tls-about, .tls-contact) > .row_inner > .module_column { width: auto; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tls-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tls-red);
  margin-bottom: 14px !important;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.tls .section-head { max-width: 640px; }
.tls .section-head--center { margin-left: auto !important; margin-right: auto !important; text-align: center; }
.tls .section-head--center .eyebrow { justify-content: center; }
/* Matching rule on the right so a centred eyebrow is visually balanced */
.tls .section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.tls .section-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.tls .section-head p:not(.eyebrow) { font-size: 18px; }

/* ---------- Buttons ---------- */
.tls .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 0;
  border: 2px solid transparent;
  font-family: var(--tls-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.tls .btn:hover { transform: translateY(-1px); box-shadow: none; }
.tls .btn--primary, .tls .btn--primary:hover { color: var(--tls-white); }
.tls .btn--primary { background: var(--tls-red); }
.tls .btn--primary:hover { background: var(--tls-red-dark); }
.tls .btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--tls-white); background: transparent; }
.tls .btn--ghost:hover { background: var(--tls-white); border-color: var(--tls-white); color: var(--tls-ink); }
.tls .btn--small { padding: 11px 20px; font-size: 14px; }
.tls .btn--block { width: 100%; }

/* ---------- Header ---------- */
.tls-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--tls-line);
}
.admin-bar .tls-header { top: 32px; }
.tls-header__inner {
  height: var(--tls-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tls-header__logo img { width: 168px; height: auto; }
.tls-nav { display: flex; align-items: center; gap: 36px; }
.tls-nav .nav__list { display: flex; gap: 32px; }
.tls .nav__link {
  position: relative;
  display: block;
  font-family: var(--tls-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--tls-charcoal);
  text-decoration: none;
  padding: 6px 0;
  transition: color .2s;
}
.tls .nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--tls-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.tls .nav__link:hover, .tls .nav__link.is-active { color: var(--tls-red); }
.tls .nav__link:hover::after, .tls .nav__link.is-active::after { transform: scaleX(1); }

.tls .menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
  box-shadow: none;
  transform: none;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--tls-ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle span + span { margin-top: 6px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.tls .tls-hero {
  position: relative;
  min-height: calc(100vh - var(--tls-header-h));
  min-height: calc(100svh - var(--tls-header-h));
  display: flex;
  align-items: center;
  padding: 96px 0;
  color: var(--tls-white);
  overflow: hidden;
  isolation: isolate;
}
.tls .tls-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(20, 20, 19, .92) 0%, rgba(20, 20, 19, .78) 45%, rgba(20, 20, 19, .25) 100%);
}
.tls .tls-hero .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 65% center;
  z-index: -2;
}
.tls .tls-hero > .row_inner, .tls .tls-hero .module_column, .tls .tls-hero .module, .tls .tls-hero .tb_text_wrap { position: static; }
.tls .hero__content { max-width: 640px; }
.tls .hero__content .eyebrow { color: var(--tls-white); }
.tls .hero__content .eyebrow::before { background: var(--tls-red); }
.tls .hero__content h1 {
  color: var(--tls-white);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}
.tls .hero__content h1 span { color: var(--tls-red); }
.tls .hero__lead { font-size: 19px; color: rgba(255, 255, 255, .86); margin-bottom: 40px; }
.tls .hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.tls .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.tls .hero__facts li { display: flex; flex-direction: column; }
.tls .hero__facts strong { font-family: var(--tls-font-head); font-size: 26px; font-weight: 800; color: var(--tls-white); }
.tls .hero__facts span { font-size: 14px; color: rgba(255, 255, 255, .7); }

/* ---------- About ---------- */
.tls .about__lead { font-size: 19px; color: var(--tls-charcoal); margin-bottom: 36px; }
.tls .features { display: grid; gap: 16px; }
.tls .feature {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--tls-white);
  border: 1px solid var(--tls-line);
  border-radius: var(--tls-radius);
}
.tls .feature__icon {
  flex: none;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: var(--tls-red-tint);
  border-radius: 10px;
}
.tls .feature__icon img { width: 32px; height: 32px; object-fit: contain; }
.tls .feature h3 { font-size: 18px; font-weight: 700; }

.tls .coverage {
  background: var(--tls-white);
  border: 1px solid var(--tls-line);
  border-radius: var(--tls-radius-lg);
  padding: 32px;
  box-shadow: var(--tls-shadow);
}
.tls .coverage h3 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.tls .towns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tls .towns li {
  font-size: 14px;
  font-weight: 500;
  color: var(--tls-charcoal);
  background: var(--tls-surface);
  border: 1px solid var(--tls-line);
  padding: 5px 12px;
  border-radius: 999px;
}
.tls .coverage__map { border-radius: var(--tls-radius); border: 1px solid var(--tls-line); width: 100%; }
.tls .coverage__note { margin-top: 20px; font-size: 16px; }
.tls .coverage__note a { font-weight: 600; }

/* ---------- Services ---------- */
.tls .service {
  position: relative;
  padding: 36px 32px;
  background: var(--tls-white);
  border: 1px solid var(--tls-line);
  border-radius: var(--tls-radius-lg);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  overflow: hidden;
  box-sizing: border-box;
}
.tls .service::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--tls-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.tls .service:hover { border-color: transparent; box-shadow: var(--tls-shadow-hover); transform: translateY(-3px); }
.tls .service:hover::before { transform: scaleX(1); }
.tls .service__num {
  font-family: var(--tls-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--tls-red);
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.tls .service h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.tls .service p:not(.service__num) { font-size: 16px; }

/* ---------- Projects ---------- */
.tls .project {
  background: var(--tls-white);
  border-radius: var(--tls-radius-lg);
  overflow: hidden;
  box-shadow: var(--tls-shadow);
  transition: box-shadow .25s, transform .25s;
}
.tls .project { display: flex; flex-direction: column; }
.tls .project .tb_text_wrap { display: flex; flex-direction: column; flex: 1; }
.tls .project:hover { box-shadow: var(--tls-shadow-hover); transform: translateY(-3px); }
.tls .project__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tls-line); }
.tls .project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tls .project:hover .project__img img { transform: scale(1.04); }
.tls .project__body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.tls .project__loc {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tls-grey-light);
  margin-bottom: 6px;
}
.tls .project h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.tls .project__body > p:not(.project__loc):not(.tags) { font-size: 16px; margin-bottom: 20px; }
.tls .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tls .tag {
  font-family: var(--tls-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tls-red);
  background: var(--tls-red-tint);
  padding: 5px 10px;
  border-radius: 6px;
}

/* ---------- Contact ---------- */
.tls .tls-contact h2 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; margin-bottom: 20px; }
.tls .contact__lead { font-size: 19px; margin-bottom: 40px; }
.tls .contact__sub { font-size: 18px; font-weight: 700; color: var(--tls-ink); margin-bottom: 20px; }
.tls .contact-cards { display: grid; gap: 16px; }
.tls .contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--tls-line);
  border-radius: var(--tls-radius);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.tls .contact-card:hover { border-color: var(--tls-red); box-shadow: var(--tls-shadow); }
.tls .contact-card__icon {
  flex: none;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: var(--tls-red);
  color: var(--tls-white);
  border-radius: 10px;
}
.tls .contact-card__icon::before {
  content: "";
  width: 24px; height: 24px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.tls .contact-card__icon--mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.tls .contact-card__icon--phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.tls .contact-card__label { display: block; font-size: 14px; color: var(--tls-grey-light); }
.tls .contact-card__value { display: block; font-size: 18px; font-weight: 600; color: var(--tls-ink); overflow-wrap: break-word; }

.tls .form { background: var(--tls-surface); border-radius: var(--tls-radius-lg); padding: 40px; }
.tls .form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tls .field { display: flex; flex-direction: column; gap: 8px; }
.tls .field--full { grid-column: 1 / -1; }
.tls .field label { font-size: 14px; font-weight: 600; color: var(--tls-ink); }
.tls .field label .opt { font-weight: 400; color: var(--tls-grey-light); }
.tls .field :is(input, textarea) {
  font: inherit;
  font-size: 16px;
  color: var(--tls-ink);
  background: var(--tls-white);
  border: 1px solid #d6d6d3;
  border-radius: 8px;
  padding: 13px 16px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.tls .field textarea { min-height: 150px; resize: vertical; }
.tls .field :is(input, textarea):focus {
  outline: none;
  border-color: var(--tls-red);
  box-shadow: 0 0 0 4px rgba(190, 22, 34, .12);
}
.tls .form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tls .form__captcha { min-height: 78px; }
.tls .form__status { grid-column: 1 / -1; font-size: 15px; }
.tls .form__status:empty { display: none; }
.tls .form__status.is-success { color: #1d7a3a; }
.tls .form__status.is-error { color: var(--tls-red); }
.tls .form__done { text-align: center; padding: 40px 0; }
.tls .form__done h3 { font-size: 24px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.tls-footer { background: var(--tls-ink); color: rgba(255, 255, 255, .7); padding: 80px 0 32px; }
.tls-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
/* Footer logo: links back to top; on hover the red parts of the logo light up with a soft glow */
.tls .tls-footer__logo {
  position: relative;
  display: inline-block;
  width: 240px;
  margin-bottom: 20px;
  transition: filter .35s ease;
}
.tls .tls-footer__logo img { width: 100%; height: auto; }
.tls .tls-footer__logo-accent {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.tls .tls-footer__logo:is(:hover, :focus-visible) { filter: drop-shadow(0 0 6px rgba(190, 22, 34, .45)); }
.tls .tls-footer__logo:is(:hover, :focus-visible) .tls-footer__logo-accent { opacity: 1; }
.tls .tls-footer :is(h2, h4) {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tls-white);
  margin-bottom: 20px;
}
.tls .tls-footer ul { display: grid; gap: 10px; }
.tls .tls-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.tls .tls-footer a:hover { color: var(--tls-white); }
.tls .tls-footer a::after { display: none; }
.tls .tls-footer .nav__link { font-family: var(--tls-font-body); font-size: inherit; font-weight: 400; padding: 0; }
.tls-footer__bottom { padding-top: 28px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .tls .tls-sec--head { padding-top: 88px; }
  .tls .tls-sec--body { padding-bottom: 88px; }
  .tls .tls-contact { padding: 88px 0; }
  .tls .tls-about > .row_inner, .tls .tls-contact > .row_inner { grid-template-columns: 1fr !important; gap: 48px; }
  .tls .tls-grid3 > .row_inner, .tls .tls-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .tls-footer__top { grid-template-columns: 1fr 1fr; }
  .tls-footer__brand { grid-column: 1 / -1; }

  .tls .menu-toggle { display: block; }
  .tls-nav {
    position: fixed;
    top: var(--tls-header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 24px 28px;
    background: var(--tls-white);
    border-bottom: 1px solid var(--tls-line);
    box-shadow: 0 16px 32px rgba(29, 29, 27, .08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .admin-bar .tls-nav { top: calc(var(--tls-header-h) + 46px); }
  .menu-open .tls-nav { opacity: 1; transform: none; visibility: visible; }
  .tls-nav .nav__list { flex-direction: column; gap: 0; }
  .tls .tls-nav .nav__link { padding: 14px 0; border-bottom: 1px solid var(--tls-line); font-size: 17px; }
  .tls .tls-nav .nav__link::after { display: none; }
}
@media (max-width: 782px) {
  .admin-bar .tls-header { top: 46px; }
}

@media (max-width: 640px) {
  body.tls { font-size: 16px; }
  :root { --tls-gutter: 16px; }
  .tls .tls-sec--head { padding-top: 72px; }
  .tls .tls-sec--body { padding: 40px 0 72px; }
  .tls .tls-contact { padding: 72px 0; }
  .tls .tls-grid3 > .row_inner, .tls .tls-cards { grid-template-columns: 1fr !important; }
  .tls-header__logo img { width: 140px; }
  .tls .tls-hero { padding: 72px 0; min-height: 0; }
  .tls .hero__lead { font-size: 17px; }
  .tls .hero__actions .btn { flex: 1 1 100%; }
  .tls .hero__facts { gap: 20px 28px; }
  .tls .coverage, .tls .form { padding: 24px; }
  .tls .form__grid { grid-template-columns: 1fr; }
  .tls-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .tls .form__captcha { transform: scale(.9); transform-origin: left top; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tls *, .tls *::before, .tls *::after { transition: none !important; animation: none !important; }
}
