/* ==========================================================================
   Transarabe International — Milestone 1 Public & Access Preview
   All selectors are isolated with the ti2- prefix.
   ========================================================================== */

:root {
  --ti2-navy-950: #041326;
  --ti2-navy-900: #071b34;
  --ti2-navy-800: #0d2d53;
  --ti2-blue-600: #175d9c;
  --ti2-gold-500: #f2c34b;
  --ti2-gold-400: #ffd467;
  --ti2-ink: #13243a;
  --ti2-muted: #64748b;
  --ti2-line: #dbe3ec;
  --ti2-soft: #f4f7fa;
  --ti2-success: #147d52;
  --ti2-danger: #a82d36;
  --ti2-shell: min(1180px, calc(100% - 40px));
  --ti2-shadow-sm: 0 10px 30px rgba(9, 31, 59, .08);
  --ti2-shadow-md: 0 22px 60px rgba(6, 25, 48, .14);
  --ti2-radius-sm: 12px;
  --ti2-radius-md: 20px;
  --ti2-radius-lg: 30px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body.ti2-body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ti2-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.ti2-menu-open { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; }

.ti2-shell { width: var(--ti2-shell); margin-inline: auto; }

.ti2-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ti2-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5000;
  transform: translateY(-150%);
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff;
  background: var(--ti2-navy-950);
  font-weight: 800;
  text-decoration: none;
}

.ti2-skip-link:focus { transform: none; }

.ti2-preview-bar {
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 7px 18px;
  color: #fff7db;
  background: linear-gradient(90deg, #875800, #a66c00, #875800);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.ti2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 78px;
  border-bottom: 1px solid rgba(7, 27, 52, .08);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(17px);
  transition: height .18s ease, box-shadow .18s ease;
}

.ti2-header.is-scrolled {
  height: 68px;
  box-shadow: 0 8px 25px rgba(7,27,52,.09);
}

.ti2-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ti2-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ti2-navy-900);
  text-decoration: none;
  flex-shrink: 0;
}

.ti2-brand__mark { width: 43px; height: 43px; }
.ti2-brand__mark rect { fill: var(--ti2-navy-900); }
.ti2-brand__mark path { fill: #fff; }
.ti2-brand__mark .ti2-brand__accent { fill: var(--ti2-gold-500); }

.ti2-brand__copy { display: grid; line-height: 1.1; }
.ti2-brand__copy strong { font-size: 15px; letter-spacing: -.02em; }
.ti2-brand__copy small {
  margin-top: 3px;
  color: #9b6a08;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ti2-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ti2-nav a {
  position: relative;
  color: #2b4057;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.ti2-nav a[aria-current="page"] { color: #8e6108; }
.ti2-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--ti2-gold-500);
}

.ti2-nav__portal {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ti2-navy-950) !important;
  background: var(--ti2-gold-500);
  box-shadow: 0 9px 22px rgba(242,195,75,.23);
}

.ti2-menu-button {
  display: none;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid var(--ti2-line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.ti2-menu-button > span:not(.ti2-sr-only) {
  width: 21px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--ti2-navy-900);
  transition: transform .18s ease, opacity .18s ease;
}

.ti2-menu-button[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
.ti2-menu-button[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.ti2-menu-button[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

.ti2-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ti2-button:hover { transform: translateY(-2px); }
.ti2-button:focus-visible,
.ti2-nav a:focus-visible,
.ti2-brand:focus-visible {
  outline: 3px solid rgba(242,195,75,.55);
  outline-offset: 4px;
}

.ti2-button--gold {
  color: var(--ti2-navy-950);
  background: linear-gradient(135deg, var(--ti2-gold-400), var(--ti2-gold-500));
  box-shadow: 0 14px 32px rgba(242,195,75,.25);
}

.ti2-button--navy {
  color: #fff;
  background: var(--ti2-navy-900);
  box-shadow: 0 14px 32px rgba(7,27,52,.18);
}

.ti2-button--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}

.ti2-button--full { width: 100%; }

.ti2-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 82px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(27,101,169,.45), transparent 34%),
    linear-gradient(120deg, var(--ti2-navy-950), var(--ti2-navy-900) 62%, #10345e);
}

.ti2-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -230px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255,255,255,.018);
}

.ti2-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.ti2-eyebrow,
.ti2-kicker {
  margin: 0 0 18px;
  color: #9a6908;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ti2-hero .ti2-eyebrow { color: var(--ti2-gold-400); }

.ti2-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(45px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.055em;
}

.ti2-hero h1 em {
  display: block;
  color: var(--ti2-gold-400);
  font-style: normal;
}

.ti2-hero__lead {
  max-width: 690px;
  margin: 27px 0 0;
  color: #c3d2e1;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.72;
}

.ti2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.ti2-hero-panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  box-shadow: 0 28px 70px rgba(0,0,0,.23);
  backdrop-filter: blur(13px);
}

.ti2-hero-panel__icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 16px;
  color: var(--ti2-navy-950);
  background: var(--ti2-gold-500);
}

.ti2-hero-panel__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ti2-hero-panel h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.03em;
}

.ti2-hero-panel p {
  margin: 13px 0 0;
  color: #b8c9d9;
  font-size: 14px;
}

.ti2-hero-panel ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ti2-hero-panel li {
  position: relative;
  padding-left: 22px;
  color: #d6e2ed;
  font-size: 13px;
}

.ti2-hero-panel li::before {
  content: "";
  position: absolute;
  top: .66em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ti2-gold-500);
}

.ti2-section { padding: 105px 0; }
.ti2-section--soft { background: var(--ti2-soft); }
.ti2-section--navy { color: #fff; background: var(--ti2-navy-900); }

.ti2-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.ti2-section-heading--left {
  max-width: 720px;
  margin-inline: 0;
  text-align: left;
}

.ti2-section-heading h2,
.ti2-content-copy h2,
.ti2-access-copy h1,
.ti2-form-card h1 {
  margin: 0;
  color: var(--ti2-navy-900);
  font-size: clamp(34px, 4.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.ti2-section-heading p,
.ti2-content-copy > p,
.ti2-access-copy > p {
  margin: 19px 0 0;
  color: var(--ti2-muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.ti2-card {
  position: relative;
  min-height: 260px;
  padding: 31px;
  border: 1px solid rgba(7,27,52,.09);
  border-radius: var(--ti2-radius-md);
  background: #fff;
  box-shadow: var(--ti2-shadow-sm);
}

.ti2-card--navy {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0, rgba(38,111,180,.45), transparent 42%),
    var(--ti2-navy-900);
}

.ti2-card__icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  color: var(--ti2-navy-950);
  background: var(--ti2-gold-500);
}

.ti2-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ti2-card h3 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.ti2-card p { margin: 13px 0 0; color: var(--ti2-muted); }
.ti2-card--navy p { color: #c2d2e2; }

.ti2-list {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.ti2-list li {
  position: relative;
  padding-left: 23px;
  color: #40556d;
}

.ti2-list li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ti2-gold-500);
}

.ti2-card--navy .ti2-list li { color: #d7e2ec; }

.ti2-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ti2-process li {
  padding: 27px;
  border: 1px solid var(--ti2-line);
  border-radius: 18px;
  background: #fff;
}

.ti2-process span {
  color: #96660a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.ti2-process h3 { margin: 13px 0 0; color: var(--ti2-navy-900); }
.ti2-process p { margin: 9px 0 0; color: var(--ti2-muted); font-size: 14px; }

.ti2-cta {
  padding: 82px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 30%, rgba(39,112,180,.34), transparent 34%),
    var(--ti2-navy-950);
}

.ti2-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.ti2-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.ti2-cta p {
  max-width: 660px;
  margin: 17px 0 0;
  color: #bdccda;
}

.ti2-form-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(25,92,154,.08), transparent 30%),
    var(--ti2-soft);
}

.ti2-form-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(480px, 1.28fr);
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
}

.ti2-access-copy {
  position: sticky;
  top: 105px;
}

.ti2-access-copy__points {
  display: grid;
  gap: 15px;
  margin-top: 32px;
}

.ti2-access-copy__points div {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 13px;
  align-items: start;
}

.ti2-access-copy__points span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--ti2-navy-950);
  background: var(--ti2-gold-500);
  font-size: 12px;
  font-weight: 900;
}

.ti2-access-copy__points p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--ti2-muted);
  font-size: 13px;
}

.ti2-access-copy__points strong { color: var(--ti2-navy-900); font-size: 14px; }

.ti2-form-card {
  padding: 31px;
  border: 1px solid rgba(7,27,52,.09);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--ti2-shadow-md);
}

.ti2-form-card h1 { font-size: clamp(31px, 4vw, 45px); }

.ti2-form-card__intro {
  margin: 15px 0 26px;
  color: var(--ti2-muted);
}

.ti2-form {
  display: grid;
  gap: 18px;
}

.ti2-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ti2-field {
  display: grid;
  gap: 7px;
}

.ti2-field label {
  color: #34495f;
  font-size: 12px;
  font-weight: 800;
}

.ti2-field input,
.ti2-field select,
.ti2-field textarea {
  width: 100%;
  border: 1px solid #d4dee8;
  border-radius: 11px;
  color: var(--ti2-ink);
  background: #fbfcfd;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.ti2-field input,
.ti2-field select { min-height: 48px; padding: 0 13px; }

.ti2-field textarea {
  min-height: 125px;
  padding: 12px 13px;
  resize: vertical;
}

.ti2-field input:focus,
.ti2-field select:focus,
.ti2-field textarea:focus {
  border-color: #bb8420;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(242,195,75,.14);
}

.ti2-field input[type="file"] {
  min-height: auto;
  padding: 13px;
}

.ti2-checkbox {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ti2-muted);
  font-size: 12px;
}

.ti2-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--ti2-navy-900);
}

.ti2-alert {
  margin-bottom: 19px;
  padding: 13px 15px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}

.ti2-alert--error {
  color: #7d2028;
  border: 1px solid #efc2c7;
  background: #fff1f2;
}

.ti2-alert--success {
  color: #11613f;
  border: 1px solid #b9e3d0;
  background: #ecf9f3;
}

.ti2-form-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 18px;
  margin-top: 21px;
}

.ti2-form-links a {
  color: #865b07;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ti2-language-pairs { display: grid; gap: 12px; }

.ti2-language-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
  gap: 11px;
  align-items: end;
  padding: 15px;
  border: 1px solid var(--ti2-line);
  border-radius: 13px;
  background: #f8fafc;
}

.ti2-inline-check {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  color: #485d73;
  font-size: 12px;
  font-weight: 750;
}

.ti2-inline-check input { accent-color: var(--ti2-navy-900); }

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

.ti2-blog-card {
  overflow: hidden;
  border: 1px solid rgba(7,27,52,.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ti2-shadow-sm);
}

.ti2-blog-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #dce5ee;
}

.ti2-blog-card__body { padding: 24px; }

.ti2-blog-card time {
  color: #94650a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ti2-blog-card h2 {
  margin: 9px 0 0;
  color: var(--ti2-navy-900);
  font-size: 21px;
  line-height: 1.25;
}

.ti2-blog-card p {
  margin: 13px 0 0;
  color: var(--ti2-muted);
  font-size: 14px;
}

.ti2-blog-card a {
  display: inline-flex;
  margin-top: 18px;
  color: #875c08;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.ti2-article {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 110px;
}

.ti2-article__header {
  padding-bottom: 35px;
  border-bottom: 1px solid var(--ti2-line);
}

.ti2-article h1 {
  margin: 12px 0 0;
  color: var(--ti2-navy-900);
  font-size: clamp(39px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.ti2-article time {
  color: #906109;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ti2-article__content {
  padding-top: 35px;
  color: #3d5268;
  font-size: 17px;
  line-height: 1.85;
}

.ti2-empty {
  padding: 45px;
  border: 1px dashed #c7d2dd;
  border-radius: 18px;
  color: var(--ti2-muted);
  background: #fff;
  text-align: center;
}

.ti2-portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ti2-portal-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 35px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(40,114,182,.46), transparent 40%),
    var(--ti2-navy-900);
  box-shadow: var(--ti2-shadow-md);
}

.ti2-portal-card:nth-child(2) {
  color: var(--ti2-ink);
  border: 1px solid rgba(7,27,52,.1);
  background: #fff;
}

.ti2-portal-card h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -.04em;
}

.ti2-portal-card p {
  margin: 15px 0 0;
  color: #c4d3e1;
}

.ti2-portal-card:nth-child(2) p { color: var(--ti2-muted); }

.ti2-portal-card--admin {
  color: var(--ti2-ink);
  border: 1px solid rgba(7,27,52,.1);
  border-top: 4px solid #f5c342;
  background: #fff;
}

.ti2-portal-card--admin p { color: var(--ti2-muted); }

.ti2-portal-card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #071d37;
  background: #f5c342;
  font-size: 22px;
  font-weight: 900;
}


.ti2-portal-card ul {
  display: grid;
  gap: 9px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.ti2-portal-card li { font-size: 13px; }

.ti2-portal-card .ti2-button { margin-top: auto; width: max-content; }

.ti2-footer {
  color: #aebfd0;
  background: #03101f;
}

.ti2-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .8fr);
  gap: 50px;
  padding-top: 58px;
  padding-bottom: 48px;
}

.ti2-brand--footer { color: #fff; }

.ti2-footer__grid > div:first-child > p {
  max-width: 350px;
  margin: 20px 0 0;
  font-size: 13px;
}

.ti2-footer h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ti2-footer__grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 9px;
}

.ti2-footer a {
  color: #b8c7d5;
  font-size: 12px;
  text-decoration: none;
}

.ti2-footer a:hover { color: var(--ti2-gold-400); }

.ti2-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 21px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: #75899c;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ti2-whatsapp {
  position: fixed;
  right: 21px;
  bottom: 21px;
  z-index: 950;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #19b866;
  box-shadow: 0 15px 34px rgba(2,30,18,.28);
}

.ti2-whatsapp svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-ti2-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .58s ease, transform .58s ease;
}

[data-ti2-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .ti2-nav { gap: 13px; }
  .ti2-nav a { font-size: 11px; }
  .ti2-nav a:nth-child(4),
  .ti2-nav a:nth-child(5) { display: none; }
  .ti2-process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ti2-blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 850px) {
  :root { --ti2-shell: min(100% - 30px, 720px); }
  .ti2-header { height: 70px; }
  .ti2-menu-button { display: block; }
  .ti2-nav {
    position: fixed;
    top: 102px;
    right: 15px;
    left: 15px;
    max-height: calc(100vh - 117px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 14px;
    overflow: auto;
    border: 1px solid var(--ti2-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(4,19,38,.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-9px);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
  }

  .ti2-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .ti2-nav a,
  .ti2-nav a:nth-child(4),
  .ti2-nav a:nth-child(5) {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #edf1f5;
    font-size: 14px;
  }

  .ti2-nav a[aria-current="page"]::after { display: none; }

  .ti2-nav__portal {
    justify-content: center;
    margin-top: 12px;
    border-bottom: 0 !important;
  }

  .ti2-hero__grid,
  .ti2-form-layout {
    grid-template-columns: 1fr;
  }

  .ti2-hero-panel,
  .ti2-form-card {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .ti2-access-copy { position: static; }
  .ti2-card-grid,
  .ti2-portal-grid { grid-template-columns: 1fr; }
  .ti2-cta__inner { align-items: start; flex-direction: column; }
  .ti2-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 600px) {
  :root { --ti2-shell: calc(100% - 24px); }
  .ti2-preview-bar { min-height: 39px; font-size: 10px; }
  .ti2-hero { padding: 65px 0; }
  .ti2-hero h1 { font-size: clamp(40px, 12vw, 57px); }
  .ti2-section { padding: 76px 0; }
  .ti2-section-heading h2,
  .ti2-content-copy h2,
  .ti2-access-copy h1,
  .ti2-form-card h1 { font-size: clamp(31px, 10vw, 42px); }
  .ti2-card-grid,
  .ti2-blog-grid,
  .ti2-process,
  .ti2-form-grid { grid-template-columns: 1fr; }
  .ti2-form-card { padding: 23px 18px; }
  .ti2-language-row { grid-template-columns: 1fr; }
  .ti2-footer__grid { grid-template-columns: 1fr; }
  .ti2-footer__bottom { flex-direction: column; align-items: start; }
  .ti2-whatsapp { right: 14px; bottom: 14px; width: 51px; height: 51px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-ti2-reveal] { opacity: 1; transform: none; }
}


/* Milestone 1B — Wbtv language catalog and interpreting forms */
.ti2-catalog-notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--ti2-gold-500);
  border-radius: 0 11px 11px 0;
  color: #52677d;
  background: #fff9e9;
  font-size: 13px;
}
.ti2-catalog-notice strong { color: var(--ti2-navy-900); }
.ti2-catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 25px;
}
.ti2-catalog-toolbar input {
  min-height: 49px;
  padding: 0 15px;
  border: 1px solid var(--ti2-line);
  border-radius: 12px;
  outline: none;
}
.ti2-catalog-toolbar input:focus { border-color: #ba8421; box-shadow: 0 0 0 4px rgba(242,195,75,.14); }
.ti2-catalog-count { color: var(--ti2-muted); font-size: 12px; font-weight: 800; }
.ti2-language-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.ti2-language-item {
  min-height: 82px;
  padding: 15px;
  border: 1px solid var(--ti2-line);
  border-radius: 13px;
  background: #fff;
}
.ti2-language-item strong { display: block; color: var(--ti2-navy-900); font-size: 14px; }
.ti2-language-item small { display: block; margin-top: 5px; color: var(--ti2-muted); font-size: 10px; }
.ti2-language-item[data-interpreter-only="1"] { border-color: rgba(242,195,75,.7); background: #fffaf0; }
.ti2-fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 21px;
  border: 1px solid var(--ti2-line);
  border-radius: 16px;
  background: #f8fafc;
}
.ti2-fieldset legend {
  padding: 0 8px;
  color: #8f6107;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.ti2-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.ti2-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid var(--ti2-line);
  border-radius: 11px;
  color: #435970;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}
.ti2-choice input { accent-color: var(--ti2-navy-900); }
.ti2-divider { position: relative; margin: 24px 0; text-align: center; }
.ti2-divider::before { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: var(--ti2-line); }
.ti2-divider span { position: relative; padding: 0 12px; color: var(--ti2-muted); background: #fff; font-size: 11px; font-weight: 800; }
.ti2-source-note { margin-top: 25px; color: var(--ti2-muted); font-size: 11px; }
@media (max-width:1080px) { .ti2-language-directory { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:750px) { .ti2-language-directory { grid-template-columns: repeat(2,minmax(0,1fr)); } .ti2-choice-grid { grid-template-columns: 1fr; } }
@media (max-width:480px) { .ti2-language-directory { grid-template-columns: 1fr; } .ti2-catalog-toolbar { grid-template-columns: 1fr; } }


/* ==========================================================================
   Milestone 1B — compact choice controls repair R1
   Radio and checkbox controls inside .ti2-field must not inherit the
   full-width text-input styles.
   ========================================================================== */

.ti2-field .ti2-choice input[type="radio"],
.ti2-field .ti2-choice input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  accent-color: var(--ti2-navy-900);
  cursor: pointer;
}

.ti2-field .ti2-choice input[type="checkbox"] {
  border-radius: 4px;
}

.ti2-choice {
  cursor: pointer;
  transition:
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.ti2-choice:hover {
  border-color: #c79a3c;
  background: #fffaf0;
}

.ti2-choice:focus-within {
  border-color: #bb8420;
  box-shadow: 0 0 0 4px rgba(242,195,75,.14);
}

/* Milestone 2D: three role cards on desktop, stacked on tablet/mobile. */
@media (max-width: 1050px) {
  .ti2-portal-grid { grid-template-columns: 1fr; }
}
