/**
 * Tasheer homepage — brand-aligned (emerald + stamp blue), clean modern layout
 */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

.th-home {
  --th-green: #0f8f56;
  --th-green-bright: #1aad6e;
  --th-green-soft: #e8f7f0;
  --th-green-dark: #064d32;
  --th-blue: #1e5a8a;
  --th-blue-deep: #153d5e;
  --th-blue-soft: #e8f2fb;
  --th-ink: #12221a;
  --th-muted: #4a5c54;
  --th-line: rgba(15, 143, 86, 0.12);
  font-family: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
}

.th-home h1:not(.th-hero__title),
.th-home h2,
.th-home h3 {
  font-weight: 700;
  color: var(--th-ink);
  letter-spacing: -0.02em;
}

/* —— Hero (KSA / international visitors + motion) —— */
@keyframes th-hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes th-hero-kenburns {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-1.2%, -0.6%);
  }
}

@keyframes th-hero-shimmer {
  0% {
    transform: translateX(-120%) skewX(-12deg);
    opacity: 0;
  }
  35% {
    opacity: 0.35;
  }
  100% {
    transform: translateX(120%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes th-hero-pulse-glow {
  0%,
  100% {
    box-shadow: 0 4px 22px rgba(15, 143, 86, 0.45), 0 0 0 0 rgba(26, 173, 110, 0.35);
  }
  50% {
    box-shadow: 0 6px 28px rgba(15, 143, 86, 0.55), 0 0 0 10px rgba(26, 173, 110, 0);
  }
}

@keyframes th-hero-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@keyframes th-hero-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.92);
  }
}

.th-hero {
  position: relative;
  min-height: min(96vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.th-hero__aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(closest-side at 15% 25%, rgba(26, 173, 110, 0.35), transparent 55%),
    radial-gradient(closest-side at 85% 20%, rgba(45, 122, 184, 0.4), transparent 50%),
    radial-gradient(closest-side at 50% 100%, rgba(255, 255, 255, 0.08), transparent 45%);
  filter: blur(40px);
  opacity: 0.85;
  pointer-events: none;
}

.th-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    145deg,
    var(--th-blue-deep) 0%,
    #0d4a4a 38%,
    var(--th-green-dark) 62%,
    var(--th-green) 100%
  );
}

.th-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.th-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  will-change: transform;
}

.th-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.42;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(26, 173, 110, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(45, 122, 184, 0.4), transparent 45%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0, 0, 0, 0.2), transparent 55%);
  pointer-events: none;
}

.th-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to top, rgba(6, 36, 28, 0.9) 0%, rgba(6, 36, 28, 0.38) 44%, transparent 74%),
    linear-gradient(90deg, rgba(21, 61, 94, 0.62) 0%, rgba(15, 143, 86, 0.22) 52%, transparent 82%),
    linear-gradient(180deg, rgba(0, 40, 35, 0.55) 0%, transparent 40%);
  pointer-events: none;
}

.th-hero__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.th-hero__shine::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

@media (prefers-reduced-motion: no-preference) {
  .th-hero__shine::after {
    animation: th-hero-shimmer 7s ease-in-out infinite;
  }

  .th-hero__image {
    animation: th-hero-kenburns 32s ease-in-out infinite alternate;
  }
}

.th-hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(5.5rem, 12vw, 7.5rem) 1.25rem clamp(4.75rem, 11vw, 6.25rem);
  text-align: center;
  color: #fff;
}

.th-hero__stage {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .th-hero__stage > * {
    opacity: 0;
    animation: th-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .th-hero__stage > *:nth-child(1) {
    animation-delay: 0.06s;
  }
  .th-hero__stage > *:nth-child(2) {
    animation-delay: 0.14s;
  }
  .th-hero__stage > *:nth-child(3) {
    animation-delay: 0.22s;
  }
  .th-hero__stage > *:nth-child(4) {
    animation-delay: 0.3s;
  }
  .th-hero__stage > *:nth-child(5) {
    animation-delay: 0.38s;
  }
  .th-hero__stage > *:nth-child(6) {
    animation-delay: 0.46s;
  }
  .th-hero__stage > *:nth-child(7) {
    animation-delay: 0.54s;
  }
  .th-hero__stage > *:nth-child(8) {
    animation-delay: 0.62s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-hero__stage > * {
    opacity: 1;
  }
}

.th-hero__brand {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.th-hero__brand-ar {
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

.th-hero__brand-sep {
  font-weight: 500;
  opacity: 0.65;
  padding: 0 0.1rem;
  user-select: none;
}

.th-hero__brand-en {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.92em;
}

.th-hero__intl {
  max-width: 38rem;
  margin: 0 auto 1rem;
  font-size: clamp(0.9375rem, 2.1vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.th-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  margin-bottom: 1.1rem;
  box-shadow: 0 0 0 1px rgba(26, 173, 110, 0.15);
}

.th-hero__badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #7ef0b8;
  box-shadow: 0 0 10px rgba(126, 240, 184, 0.85);
}

@media (prefers-reduced-motion: no-preference) {
  .th-hero__badge-dot {
    animation: th-hero-dot 2.2s ease-in-out infinite;
  }
}

.th-hero__title {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.85rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.03em;
}

.th-hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.65;
  max-width: 38rem;
  margin: 0 auto 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.th-hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: 40rem;
}

.th-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.th-hero__trust-ico {
  display: flex;
  color: #9ef5c8;
}

.th-hero__trust-ico svg {
  width: 1rem;
  height: 1rem;
}

.th-hero__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.th-hero__lang {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.th-hero__lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding-inline-end: 0.25rem;
}

.th-hero__lang-btn {
  cursor: pointer;
  border: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, transform 0.15s ease;
}

.th-hero__lang-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.th-hero__lang-btn.is-active {
  background: rgba(26, 173, 110, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.th-hero__scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease, transform 0.15s ease;
}

.th-hero__scroll-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.th-hero__scroll-ico {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.th-hero__hint {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.9;
}

.th-hero__hint-mouse {
  width: 1.35rem;
  height: 2.1rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  position: relative;
}

.th-hero__hint-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.35rem;
  width: 0.2rem;
  height: 0.45rem;
  margin-left: -0.1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: no-preference) {
  .th-hero__hint {
    animation: th-hero-hint-bounce 2.2s ease-in-out infinite;
  }
}

@media (max-width: 640px) {
  .th-hero__hint {
    display: none;
  }
}

.th-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.th-btn--primary {
  background: linear-gradient(180deg, var(--th-green-bright) 0%, var(--th-green) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(15, 143, 86, 0.45);
}

.th-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 143, 86, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .th-btn--pulse {
    animation: th-hero-pulse-glow 2.8s ease-in-out infinite;
  }
}

.th-btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.th-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* —— Section shell —— */
.th-section {
  padding: 4.5rem 0;
}

.th-section--muted {
  background: linear-gradient(180deg, #f7faf8 0%, #f0f5f3 100%);
}

.th-section--white {
  background: #fff;
}

.th-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.th-section-head__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--th-green);
  margin-bottom: 0.75rem;
}

.th-section-head__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.th-section-head__sub {
  font-size: 1.0625rem;
  color: var(--th-muted);
  line-height: 1.65;
  font-weight: 400;
}

.th-section-head--align-start {
  text-align: start;
  margin-inline: 0;
  margin-bottom: 1.5rem;
  max-width: none;
}

/* —— Feature cards —— */
.th-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .th-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .th-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.th-card {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--th-line);
  box-shadow: 0 4px 24px rgba(18, 34, 26, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.th-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--th-blue) 0%, var(--th-green-bright) 100%);
  opacity: 0.85;
}

.th-card:hover {
  box-shadow: 0 12px 40px rgba(18, 34, 26, 0.08);
  border-color: rgba(15, 143, 86, 0.22);
  transform: translateY(-3px);
}

.th-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--th-blue) 0%, var(--th-green) 100%);
  margin-bottom: 1rem;
}

.th-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.th-card__text {
  font-size: 0.9375rem;
  color: var(--th-muted);
  line-height: 1.65;
}

/* —— CTA band —— */
.th-cta {
  position: relative;
  padding: 4rem 1.25rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.th-cta__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.th-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(12, 48, 72, 0.9) 0%,
    rgba(8, 62, 52, 0.88) 42%,
    rgba(6, 78, 58, 0.86) 100%
  );
}

.th-cta__pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.th-cta__inner {
  position: relative;
  z-index: 3;
  max-width: 42rem;
  margin: 0 auto;
}

/* CTA headings: force light text (`.th-home h2` otherwise wins specificity) */
.th-home .th-cta .th-cta__title,
.th-home .th-cta h2.th-cta__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: #f8fafc;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.th-home .th-cta .th-cta__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.th-btn--on-dark {
  background: #fff;
  color: var(--th-green-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.th-btn--on-dark:hover {
  background: var(--th-green-soft);
  transform: translateY(-2px);
}

/* —— FAQ —— */
.th-faq {
  border-radius: 1rem;
  border: 1px solid var(--th-line);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(18, 34, 26, 0.04);
}

.th-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  text-align: inherit;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--th-ink);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.th-faq__trigger:hover {
  background: var(--th-green-soft);
}

.th-faq__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--th-green);
}

.th-faq__body {
  padding: 0 1.25rem 1.125rem;
  color: var(--th-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  border-top: 1px solid var(--th-line);
}

/* —— Contact tiles —— */
.th-contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .th-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .th-contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.th-tile {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--th-line);
  box-shadow: 0 4px 20px rgba(18, 34, 26, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.th-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(18, 34, 26, 0.09);
}

.th-tile__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--th-green-soft);
  color: var(--th-green);
}

.th-tile__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.th-tile h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
}

.th-tile p {
  font-size: 0.875rem;
  color: var(--th-muted);
  line-height: 1.55;
}

.th-tile__body {
  font-size: 0.9375rem;
  color: var(--th-muted);
  line-height: 1.65;
  margin: 0;
}

/* —— Assist strip —— */
.th-assist {
  background: linear-gradient(180deg, #eef6f2 0%, #e8f2f7 100%);
}

.th-btn--solid {
  background: linear-gradient(180deg, var(--th-green-bright) 0%, var(--th-green) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 143, 86, 0.35);
}

.th-btn--solid:hover {
  transform: translateY(-2px);
}

.th-btn--outline {
  background: #fff;
  color: var(--th-blue-deep);
  border: 2px solid rgba(30, 90, 138, 0.35);
}

.th-btn--outline:hover {
  border-color: var(--th-blue);
  background: var(--th-blue-soft);
}

.th-link {
  color: var(--th-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.th-link:hover {
  color: var(--th-green);
  text-decoration: underline;
}

/* —— Inner pages: shorter hero (about, etc.) —— */
.th-hero--page {
  min-height: min(56vh, 500px);
}

.th-hero--page .th-hero__inner {
  padding: clamp(4.75rem, 10vw, 6rem) 1.25rem clamp(2.5rem, 6vw, 3.75rem);
}

@media (min-width: 768px) {
  .th-hero--page {
    min-height: min(48vh, 440px);
  }
}

.th-about-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .th-about-split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.th-about-split__media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(18, 34, 26, 0.12);
  border: 1px solid var(--th-line);
}

.th-about-split__media img {
  display: block;
  width: 100%;
  height: min(28rem, 70vw);
  object-fit: cover;
  object-position: center 35%;
}

.th-prose-about {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--th-muted);
}

.th-prose-about :where(p, ul, ol) {
  margin-bottom: 1rem;
}

.th-prose-about :where(ul, ol) {
  padding-inline-start: 1.25rem;
}

.th-prose-about :where(a) {
  color: var(--th-blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.th-prose-about :where(a):hover {
  color: var(--th-green);
}

.th-prose-about :where(h2, h3, h4) {
  color: var(--th-ink);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.th-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .th-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .th-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— About page: fluid rhythm, imagery, values infographic —— */
.th-about-flow .th-section {
  padding-top: clamp(3.25rem, 6.5vw, 5.75rem);
  padding-bottom: clamp(3.25rem, 6.5vw, 5.75rem);
}

.th-hero--about .th-hero__inner {
  padding-top: clamp(5rem, 11vw, 6.25rem);
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
}

.th-section--about-rise {
  border-radius: 0 0 clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 22px 56px rgba(18, 34, 26, 0.07);
}

.th-section--about-wave {
  border-radius: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.25rem) 0 0;
  margin-top: -1.35rem;
  padding-top: clamp(4rem, 8vw, 6rem);
  position: relative;
  z-index: 1;
}

.th-section--about-values {
  border-radius: 0 0 clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.25rem);
}

.th-about-split--fluid {
  gap: clamp(1.75rem, 4vw, 3.25rem);
}

.th-about-copy {
  align-self: center;
}

.th-about-visual {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.th-about-visual__main {
  position: relative;
  border-radius: clamp(1rem, 2.5vw, 1.35rem);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(18, 34, 26, 0.14);
  border: 1px solid var(--th-line);
  aspect-ratio: 4 / 3;
}

.th-about-visual__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.th-about-visual:hover .th-about-visual__main img {
  transform: scale(1.04);
}

.th-about-visual__float {
  position: absolute;
  width: min(38%, 11.5rem);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid #fff;
  z-index: 2;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.th-about-visual__float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.th-about-visual__float--a {
  bottom: 6%;
  inset-inline-start: -5%;
  transform: rotate(-5deg);
}

.th-about-visual__float--b {
  top: 8%;
  inset-inline-end: -4%;
  transform: rotate(5deg);
}

.th-about-visual:hover .th-about-visual__float--a {
  transform: rotate(-3deg) translateY(-6px);
}

.th-about-visual:hover .th-about-visual__float--b {
  transform: rotate(3deg) translateY(4px);
}

@media (max-width: 639px) {
  .th-about-visual__float {
    display: none;
  }

  .th-about-visual__main {
    aspect-ratio: 16 / 11;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-about-visual:hover .th-about-visual__main img,
  .th-about-visual:hover .th-about-visual__float--a,
  .th-about-visual:hover .th-about-visual__float--b {
    transform: none;
  }

  .th-about-visual__float--a {
    transform: rotate(-3deg);
  }

  .th-about-visual__float--b {
    transform: rotate(3deg);
  }
}

.th-about-panorama {
  margin: 0;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 16px 48px rgba(18, 34, 26, 0.1);
}

.th-about-panorama img {
  width: 100%;
  height: min(20rem, 38vw);
  min-height: 11rem;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 8s ease-out;
}

.th-about-panorama:hover img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .th-about-panorama img,
  .th-about-panorama:hover img {
    transition: none;
    transform: none;
  }
}

.th-about-vm-grid {
  gap: clamp(1.25rem, 3vw, 2rem);
}

.th-card--lift {
  transform: translateY(0);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.th-card--lift:hover {
  transform: translateY(-5px);
}

/* Values: nested-card infographic */
.th-values-ig {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.85rem);
  max-width: 48rem;
}

@media (min-width: 880px) {
  .th-values-ig {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 56rem;
  }

  .th-values-ig__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }
}

.th-values-ig__item {
  margin: 0;
  padding: 0;
}

.th-values-ig__outer {
  height: 100%;
  padding: clamp(0.55rem, 1.4vw, 0.8rem);
  border-radius: 1.35rem;
  background: linear-gradient(
    145deg,
    rgba(232, 247, 240, 0.98) 0%,
    #ffffff 45%,
    rgba(232, 242, 251, 0.92) 100%
  );
  border: 1px solid rgba(15, 143, 86, 0.16);
  box-shadow:
    0 6px 28px rgba(18, 34, 26, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.th-values-ig__outer:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 143, 86, 0.28);
  box-shadow:
    0 22px 50px rgba(18, 34, 26, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.th-values-ig__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.55rem;
  padding: 0 0.45rem;
  border-radius: 0.7rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--th-blue) 0%, var(--th-green) 100%);
  box-shadow: 0 4px 16px rgba(15, 90, 70, 0.3);
}

.th-values-ig__inner {
  border-radius: 0.85rem;
  padding: 1.05rem 1.15rem 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 143, 86, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 2px 14px rgba(18, 34, 26, 0.04);
}

.th-values-ig__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--th-muted);
}

/* —— Visas listing: filter bar —— */
.th-visas-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--th-line);
  box-shadow: 0 8px 28px rgba(18, 34, 26, 0.06);
}

.th-visas-filter__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: min(100%, 14rem);
}

.th-visas-filter__field--grow {
  flex: 1 1 12rem;
  min-width: min(100%, 18rem);
}

.th-visas-filter__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--th-muted);
}

.th-visas-filter__input,
.th-visas-filter__select {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid var(--th-line);
  background: #fff;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  color: var(--th-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.th-visas-filter__input:focus,
.th-visas-filter__select:focus {
  outline: none;
  border-color: rgba(15, 143, 86, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 143, 86, 0.12);
}

/* —— Visas listing: brand-aligned cards & continent rule —— */
.th-visas-continent__rule {
  width: 5rem;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--th-blue) 0%, var(--th-green-bright) 100%);
  opacity: 0.92;
}

.th-visas-card {
  border: 1px solid var(--th-line);
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.th-visas-card:hover {
  border-color: rgba(15, 143, 86, 0.32);
  box-shadow: 0 14px 40px rgba(18, 34, 26, 0.09);
  transform: translateY(-3px);
}

.th-visas-card__chev {
  color: rgba(74, 92, 84, 0.55);
}

.th-visas-card:hover .th-visas-card__chev {
  color: var(--th-green);
}

.th-hero__terms-meta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}
