/* =========================================================
   Tamkiine Home V2 — إعادة تصميم كاملة (هوية تركواز فاتحة)
   ========================================================= */

@font-face {
  font-family: "gessfont";
  src: url("https://tamkiine.sa/wp-content/uploads/2025/03/GE_SS_Two_Light.otf") format("opentype");
  font-display: swap;
}

body.tamkiine-home-v2-page {
  --t-brand: #007c78;
  --t-brand-deep: #006663;
  --t-accent: #25b2b0;
  --t-ink: #0f5e5b;
  --t-soft: #3b8f8c;
  --t-line: rgba(0, 124, 120, 0.16);
  --t-mist: #eef9f8;
  --t-foam: #f7fcfb;
  --t-white: #ffffff;
  --t-radius: 26px;
  --t-font: gessfont, ct_font_ping_a_r-_l_t-_regular, "Readex Pro", "Tajawal", sans-serif;
  --t-shadow: 0 24px 60px rgba(0, 124, 120, 0.16);
}

body.tamkiine-home-v2-page .entry-header,
body.tamkiine-home-v2-page .page-title,
body.tamkiine-home-v2-page .ct-breadcrumbs,
body.tamkiine-home-v2-page .hero-section {
  display: none !important;
}

body.tamkiine-home-v2-page #main,
body.tamkiine-home-v2-page article.page,
body.tamkiine-home-v2-page .ct-container:has(#th2-main) {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.th2 {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--t-font);
  color: var(--t-ink);
  background: var(--t-white);
  overflow-x: clip;
}

.th2-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Buttons */
.th2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.7rem;
  border-radius: 14px;
  font-family: var(--t-font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.th2-btn:hover {
  transform: translateY(-2px);
}

.th2-btn--fill {
  background: var(--t-brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 124, 120, 0.28);
}

.th2-btn--fill:hover {
  background: var(--t-brand-deep);
  color: #fff;
}

.th2-btn--line {
  background: #fff;
  color: var(--t-brand);
  border-color: rgba(0, 124, 120, 0.35);
}

.th2-btn--line:hover {
  background: var(--t-mist);
  border-color: var(--t-brand);
}

.th2-btn--ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.th2-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.th2-btn--light {
  background: #fff;
  color: var(--t-brand);
}

/* ===================== HERO — مطابق Elementor الأصلي (post-35326) ===================== */
.th2-hero {
  position: relative;
  padding: 0;
  background: #fff;
}

/* الحاوية الخارجية */
.th2-hero__outer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: 80vh;
  margin-top: 24px;
  padding-inline: 0.5rem;
  box-sizing: border-box;
  width: 100%;
}

/* اللوحة بعرض الشاشة تقريبًا */
.th2-hero__panel {
  position: relative;
  width: 100%;
  min-height: 80vh;
  border-radius: 28px;
  overflow: hidden;
  background-color: #1a2330;
  background-image: var(--th2-hero-image);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  animation: th2-rise 0.75s ease both;
}

.th2-hero__panel::before {
  content: none;
}

/* كتلة النص في المساحة الفارغة يسار الرسم */
.th2-hero__copy {
  position: relative;
  z-index: 1;
  width: min(52%, 620px);
  margin-top: 4%;
  margin-bottom: 0;
  margin-inline-end: clamp(1rem, 4vw, 3rem);
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* العنوان: أبيض + تركواز على «لا حدود لها!» */
body.tamkiine-home-v2-page .th2-hero__title,
.th2-hero__title {
  margin: 0 0 0.75rem;
  font-family: gessfont, var(--t-font) !important;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  text-align: center;
}

body.tamkiine-home-v2-page .th2-hero__title .th2-hero__line,
.th2-hero__title .th2-hero__line {
  display: block;
}

body.tamkiine-home-v2-page .th2-hero__title em,
.th2-hero__title em {
  font-style: normal;
  color: #25b2b0 !important;
}

/* الوصف أبيض واضح */
body.tamkiine-home-v2-page .th2-hero__lead,
.th2-hero__lead {
  margin: 0 0 1.35rem;
  font-family: gessfont, var(--t-font) !important;
  font-size: clamp(1rem, 1.5vw, 1.15rem) !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  text-align: center;
  max-width: 42ch;
}

.th2-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.th2-hero__cta .th2-btn--fill {
  min-height: 46px;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  background: #007c78;
  color: #fff;
  font-family: gessfont, var(--t-font);
  box-shadow: 0 12px 28px rgba(0, 124, 120, 0.32);
}

@media (max-width: 1024px) and (min-width: 768px) {
  .th2-hero__outer {
    min-height: 56vh;
    padding-inline: 1rem;
  }

  .th2-hero__panel {
    width: 100%;
    min-height: 56vh;
  }

  .th2-hero__copy {
    width: min(58%, 420px);
    margin-top: 0;
  }
}

@keyframes th2-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.th2-section {
  padding-block: 5rem;
}

.th2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  color: var(--t-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.th2-eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--t-brand), var(--t-accent));
}

.th2-eyebrow--on-dark {
  color: #9ef0ed;
}

.th2-eyebrow--on-dark::before {
  background: linear-gradient(90deg, #fff, #9ef0ed);
}

.th2-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.75rem;
}

.th2-heading h2 {
  margin: 0 0 0.85rem;
  color: var(--t-brand);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
}

.th2-heading p:not(.th2-eyebrow) {
  margin: 0;
  color: var(--t-soft);
  font-size: 1.08rem;
  line-height: 1.85;
}

.th2-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: start;
  max-width: none;
}

.th2-heading--split > div {
  max-width: 640px;
}

.th2-link {
  flex-shrink: 0;
  color: var(--t-brand);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 124, 120, 0.25);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.th2-link:hover {
  color: var(--t-brand-deep);
  border-color: var(--t-brand);
}

.th2-section__action {
  margin-top: 2.25rem;
  text-align: center;
}

/* Features */
.th2-features {
  background: var(--t-white);
}

.th2-features__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem 1.2rem;
}

.th2-feature {
  text-align: center;
  padding: 0.35rem 0.25rem;
  transition: transform 0.22s ease;
}

.th2-feature:hover {
  transform: translateY(-3px);
}

.th2-feature img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.9rem;
  filter: drop-shadow(0 10px 18px rgba(0, 124, 120, 0.12));
}

.th2-feature h3 {
  margin: 0 0 0.4rem;
  color: var(--t-brand);
  font-size: 1.05rem;
  font-weight: 700;
}

.th2-feature p {
  margin: 0;
  color: var(--t-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Paths */
.th2-paths {
  background: var(--t-mist);
}

.th2-paths__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}

.th2-path {
  display: grid;
  gap: 0.65rem;
  padding: 1.45rem 1.15rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: var(--t-white);
  border: 1px solid rgba(0, 124, 120, 0.1);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(0, 124, 120, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.th2-path:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 178, 176, 0.5);
  box-shadow: 0 20px 44px rgba(0, 124, 120, 0.12);
}

.th2-path img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-inline: auto;
}

.th2-path h3 {
  margin: 0;
  color: var(--t-brand);
  font-size: 1.05rem;
  font-weight: 700;
}

.th2-path p {
  margin: 0;
  color: var(--t-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.th2-path span {
  color: var(--t-accent);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Services — نفس أسلوب الصورة المرجعية */
.th2-services {
  background: #fff;
  padding-bottom: 0.5rem;
}

.th2-services__carousel {
  --th2-svc-gap: 1.25rem;
  --th2-svc-per: 3;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 2.5rem;
  padding-inline: 3.25rem;
}

.th2-services__viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
  container-type: inline-size;
  container-name: th2-services;
}

.th2-services__track {
  display: flex;
  gap: var(--th2-svc-gap);
  width: max-content;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 0.9, 0.28, 1);
}

.th2-services__nav {
  position: absolute;
  top: calc(50% - 1.6rem);
  z-index: 2;
  translate: 0 -50%;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--t-brand);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 124, 120, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.th2-services__nav:hover {
  background: var(--t-brand-deep, #006460);
  transform: scale(1.05);
}

.th2-services__nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.th2-services__nav--prev {
  right: 0.35rem;
}

.th2-services__nav--next {
  left: 0.35rem;
}

.th2-services__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.th2-services__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(0, 124, 120, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.th2-services__dot.is-active {
  width: 1.35rem;
  background: var(--t-brand);
}

.th2-service {
  flex: 0 0 calc((100cqi - (var(--th2-svc-per) - 1) * var(--th2-svc-gap)) / var(--th2-svc-per));
  width: calc((100cqi - (var(--th2-svc-per) - 1) * var(--th2-svc-gap)) / var(--th2-svc-per));
  max-width: calc((100cqi - (var(--th2-svc-per) - 1) * var(--th2-svc-gap)) / var(--th2-svc-per));
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 124, 120, 0.12);
  box-shadow: 0 16px 36px rgba(0, 124, 120, 0.12);
  transition: box-shadow 0.22s ease;
}

.th2-service:hover {
  box-shadow: 0 22px 44px rgba(0, 124, 120, 0.18);
}

.th2-service__media {
  display: block;
  height: clamp(280px, 28vw, 360px);
  overflow: hidden;
  background: #eef7f6;
}

.th2-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.th2-service:hover .th2-service__media img {
  transform: scale(1.04);
}

.th2-service__meta {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem 1.35rem;
  background: linear-gradient(145deg, #007c78 0%, #006663 100%);
  color: #fff;
  min-height: 100px;
}

.th2-service__meta strong {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
}

.th2-service__meta span {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .th2-services__carousel {
    --th2-svc-per: 2;
    max-width: none;
    padding-inline: 3rem;
  }
}

@media (max-width: 640px) {
  .th2-services__carousel {
    --th2-svc-per: 1;
    padding-inline: 2.75rem;
  }

  .th2-service__media {
    height: 280px;
  }
}

/* Promo */
.th2-promo {
  background: var(--t-foam);
}

.th2-promo__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(125deg, #0b5f5c 0%, #007c78 48%, #1aa8a5 100%);
  box-shadow: 0 24px 55px rgba(0, 100, 96, 0.22);
}

.th2-promo__copy {
  padding: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.th2-promo__copy h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.4;
}

.th2-promo__copy > p:not(.th2-eyebrow) {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.85;
  max-width: 42ch;
}

.th2-promo__visual {
  min-height: 280px;
  position: relative;
}

.th2-promo__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Courses */
.th2-courses {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(37, 178, 176, 0.12), transparent 55%),
    var(--t-white);
}

.th2-courses__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.th2-course {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 124, 120, 0.12);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 124, 120, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.th2-course:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 178, 176, 0.45);
  box-shadow: 0 22px 48px rgba(0, 124, 120, 0.14);
}

.th2-course__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--t-mist);
}

.th2-course__media > a {
  display: block;
  width: 100%;
  height: 100%;
}

.th2-course__badge {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 1;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--t-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 100, 96, 0.28);
}

.th2-course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.th2-course:hover .th2-course__media img {
  transform: scale(1.05);
}

.th2-course__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.15rem 1.3rem;
  flex: 1;
}

.th2-course__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  min-height: 3.1em;
}

.th2-course__body h3 a {
  color: var(--t-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.th2-course__body h3 a:hover {
  color: var(--t-brand);
}

.th2-course__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-top: auto;
}

.th2-course__price {
  color: var(--t-brand);
  font-weight: 700;
  font-size: 1.05rem;
}

.th2-course__tag {
  color: var(--t-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.th2-course__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: rgba(0, 124, 120, 0.08);
  color: var(--t-brand);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.th2-course__cta:hover {
  background: var(--t-brand);
  color: #fff;
}

/* Cert band */
.th2-band {
  padding-block: 1.5rem 4.5rem;
  background: transparent;
  color: #fff;
}

.th2-band__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 2.75rem) clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(120deg, #006663 0%, #007c78 45%, #25b2b0 100%);
  box-shadow: 0 24px 55px rgba(0, 100, 96, 0.22);
}

.th2-band__copy {
  max-width: 640px;
}

.th2-band h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
}

.th2-band__copy > p:not(.th2-eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.8;
}

/* Voices — كاروسيل متحرك */
.th2-voices {
  background:
    radial-gradient(ellipse 45% 50% at 0% 0%, rgba(37, 178, 176, 0.14), transparent 55%),
    var(--t-mist);
  overflow: hidden;
}

.th2-voices__carousel {
  position: relative;
  margin-top: 0.25rem;
}

.th2-voices__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 1.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem max(3.25rem, calc((100% - 1180px) / 2 + 2rem)) 0.75rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.th2-voices__rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.th2-voices__nav {
  position: absolute;
  top: calc(50% - 1.25rem);
  z-index: 2;
  translate: 0 -50%;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--t-brand);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 124, 120, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.th2-voices__nav:hover {
  background: var(--t-brand-deep);
  transform: scale(1.05);
}

.th2-voices__nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.th2-voices__nav--prev {
  right: max(0.75rem, calc((100% - 1180px) / 2));
}

.th2-voices__nav--next {
  left: max(0.75rem, calc((100% - 1180px) / 2));
}

.th2-voices__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding-inline: 1rem;
}

.th2-voices__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(0, 124, 120, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.th2-voices__dot.is-active {
  width: 1.35rem;
  background: var(--t-brand);
}

.th2-voice {
  margin: 0;
  padding: 1.7rem 1.55rem 1.55rem;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 124, 120, 0.1);
  box-shadow: 0 14px 36px rgba(0, 124, 120, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.th2-voice:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 124, 120, 0.12);
}

.th2-voice__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.th2-voice__mark {
  font-size: 3.2rem;
  line-height: 0.7;
  color: rgba(37, 178, 176, 0.55);
  font-family: Georgia, serif;
}

.th2-voice__stars {
  display: flex;
  gap: 0.12rem;
  color: #e8a317;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.th2-voice p {
  margin: 0;
  color: var(--t-ink);
  line-height: 1.85;
  font-size: 0.98rem;
  flex: 1;
}

.th2-voice footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 124, 120, 0.1);
}

.th2-voice__avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--t-brand), var(--t-accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.th2-voice__who {
  display: grid;
  gap: 0.15rem;
}

.th2-voice__who strong {
  color: var(--t-brand);
  font-weight: 700;
  font-size: 0.98rem;
}

.th2-voice__who em {
  font-style: normal;
  color: var(--t-soft);
  font-size: 0.85rem;
}

/* Reveal */
.th2-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.th2-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .th2-promo__panel,
  .th2-band__panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .th2-promo__panel {
    display: grid;
  }

  .th2-heading--split {
    flex-direction: column;
    align-items: start;
  }

  .th2-features__grid,
  .th2-paths__grid,
  .th2-courses__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .th2-hero__outer {
    min-height: 52vh;
    margin-top: 16px;
    padding-inline: 0.85rem;
  }

  .th2-hero__panel {
    width: 100%;
    min-height: 52vh;
    border-radius: 22px;
    align-items: flex-end;
    justify-content: center;
    background-position: 70% center;
  }

  .th2-hero__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(18, 28, 40, 0.08) 20%,
      rgba(18, 28, 40, 0.86) 78%
    );
    pointer-events: none;
  }

  .th2-hero__copy {
    width: 100%;
    margin-top: 0;
    padding: 1.35rem 1rem 1.6rem;
    align-items: center;
    text-align: center;
  }

  body.tamkiine-home-v2-page .th2-hero__title,
  .th2-hero__title {
    font-size: clamp(1.4rem, 6vw, 1.85rem) !important;
    line-height: 1.4 !important;
  }

  body.tamkiine-home-v2-page .th2-hero__lead,
  .th2-hero__lead {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    max-width: none;
  }

  .th2-features__grid,
  .th2-paths__grid,
  .th2-courses__grid {
    grid-template-columns: 1fr;
  }

  .th2-voices__rail {
    padding-inline: 1.25rem;
    grid-auto-columns: minmax(260px, 84vw);
  }

  .th2-voices__nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.4rem;
  }

  .th2-voices__nav--prev {
    right: 0.4rem;
  }

  .th2-voices__nav--next {
    left: 0.4rem;
  }

  .th2-course__body h3 {
    min-height: 0;
  }

  .th2-promo__visual {
    min-height: 220px;
  }

  .th2-services__nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.4rem;
  }

  .th2-section {
    padding-block: 3.25rem;
  }

  .th2-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .th2-footer__brand {
    width: min(100%, 240px);
  }

  .th2-footer__payments img {
    width: min(100%, 240px);
  }
}

/* ===================== FOOTER ===================== */
body.tamkiine-home-design footer.ct-footer {
  display: none !important;
}

.th2-footer {
  margin-top: 0;
  color: #fff;
  font-family: var(--t-font);
}

.th2-footer__main {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #006663 0%, #007c78 48%, #1aa8a5 100%);
}

.th2-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.th2-footer__brand {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 1rem;
  width: min(100%, 260px);
}

.th2-footer__logo {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.th2-footer__logo:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.th2-footer__logo img {
  width: 100%;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  object-position: right center;
  display: block;
  /* يحوّل الشعار الملون إلى أبيض نقي على الخلفية التركواز */
  filter: brightness(0) invert(1);
}

.th2-footer__tagline {
  margin: 0;
  width: 100%;
  max-width: none;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  font-size: 0.98rem;
  text-align: start;
}

.th2-footer__col h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.th2-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.th2-footer__col a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.th2-footer__col a:hover {
  color: #fff;
}

.th2-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.th2-footer__socials a {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.th2-footer__socials a:hover {
  background: #fff;
  color: var(--t-brand);
  transform: translateY(-2px);
}

.th2-footer__socials svg {
  fill: currentColor;
  display: block;
}

.th2-footer__note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.7;
}

.th2-footer__payments {
  margin-top: 1.1rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(0, 60, 58, 0.12);
  width: fit-content;
  max-width: 100%;
}

.th2-footer__payments img {
  width: min(100%, 280px);
  height: auto;
  display: block;
}

.th2-footer__copy {
  background: #004f4c;
  padding: 0.95rem 0;
  text-align: center;
}

.th2-footer__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}
