/* ==========================================================================
   Taif Group v15 — design system for Elementor

   How this file works
   - Every look is a CLASS you add in Elementor → Advanced → CSS Classes
     (e.g. "tg-section tg-dark" on a container, "tg-eyebrow" on a Heading).
   - Rules are written for Elementor's real markup (containers .e-con / .e-con-inner,
     widgets .elementor-widget > .elementor-heading-title …) AND for plain markup
     rendered by the theme's own widgets and PHP fallbacks.
   - Layout values are set as Elementor's own CSS variables (--padding-top, --gap,
     --e-con-grid-template-columns …) at low specificity, so anything an editor
     changes in the Elementor panel wins automatically.
   - Colours and fonts read Elementor's Global Colors / Global Fonts, with the
     brand values as fallback.
   Per-widget styles live in assets/css/widgets/*.css and load only where used.
   ========================================================================== */

/* ---------- Tokens ---------- */
body.tg-body {
  --tg-bg: #ffffff;
  --tg-bg-alt: var(--e-global-color-tg_offwhite, #f7f3ec);
  --tg-cream: var(--e-global-color-tg_cream, #f2e4c7);
  --tg-ink: var(--e-global-color-primary, #111111);
  --tg-ink-soft: #2a2a2a;
  --tg-body: var(--e-global-color-text, #666666);
  --tg-muted: var(--e-global-color-tg_muted, #8c8c8c);
  --tg-line: var(--e-global-color-tg_line, #e4e0d7);
  --tg-line-2: #ededed;
  --tg-gold: var(--e-global-color-secondary, #a4906b);
  --tg-gold-deep: var(--e-global-color-accent, #78664e);
  --tg-dark: var(--e-global-color-tg_dark, #042e38);
  --tg-dark-2: var(--e-global-color-tg_dark_2, #011d26);
  --tg-on-dark: var(--e-global-color-tg_on_dark, #f6f0e4);
  --tg-on-dark-muted: rgba(246, 240, 228, 0.62);
  --tg-line-dark: rgba(246, 240, 228, 0.16);

  --tg-font-head: var(--e-global-typography-primary-font-family, "Archivo"), "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tg-font-body: var(--e-global-typography-text-font-family, "Helvetica Neue"), Helvetica, Arial, sans-serif;
  --tg-font-ar: var(--e-global-typography-tg_ar_body-font-family, "Tajawal"), Tahoma, Arial, sans-serif;
  --tg-font-ar-head: var(--e-global-typography-tg_ar_head-font-family, "Tajawal"), Tahoma, Arial, sans-serif;

  --tg-container: 1400px;
  --tg-gutter: clamp(20px, 4.5vw, 70px);
  --tg-section: clamp(72px, 9vw, 150px);
  --tg-ease: cubic-bezier(0.25, 1, 0.3, 1);
  --tg-topbar-h: 46px;
  --tg-header-h: 88px;
  --tg-header-h-scrolled: 74px;
}
html[dir="rtl"] body.tg-body {
  --tg-font-head: var(--tg-font-ar-head);
  --tg-font-body: var(--tg-font-ar);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body.tg-body {
  margin: 0;
  background: var(--tg-bg);
  color: var(--tg-body);
  font-family: var(--tg-font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.tg-body img {
  max-width: 100%;
  height: auto;
  display: block;
}
.tg-body .elementor-widget-image img {
  display: block;
}
.tg-body a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--tg-ease);
}
.tg-body h1,
.tg-body h2,
.tg-body h3,
.tg-body h4,
.tg-body h5,
.tg-body h6 {
  margin: 0;
  color: var(--tg-ink);
  font-family: var(--tg-font-head);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
html[dir="rtl"] .tg-body h1,
html[dir="rtl"] .tg-body h2,
html[dir="rtl"] .tg-body h3,
html[dir="rtl"] .tg-body h4 {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.tg-body p {
  margin: 0 0 1.1em;
}
.tg-body p:last-child {
  margin-bottom: 0;
}
.tg-body ul.tg-clean {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Skip link: hidden off-canvas vertically (a large negative "left" would create sideways scrolling in RTL). */
.tg-skip {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--tg-ink);
  color: #fff;
  transform: translateY(-300%);
}
.tg-skip:focus {
  transform: none;
}
.tg-body :focus-visible {
  outline: 2px solid var(--tg-gold);
  outline-offset: 3px;
}

/* Elementor's heading reset (line-height:1) must not beat the design system. */
.tg-body .elementor-heading-title {
  line-height: inherit;
}
.tg-body h1.elementor-heading-title,
.tg-body h2.elementor-heading-title,
.tg-body h3.elementor-heading-title,
.tg-body h4.elementor-heading-title,
.tg-body h5.elementor-heading-title,
.tg-body h6.elementor-heading-title {
  line-height: 1.08;
}
html[dir="rtl"] .tg-body h1.elementor-heading-title,
html[dir="rtl"] .tg-body h2.elementor-heading-title,
html[dir="rtl"] .tg-body h3.elementor-heading-title,
html[dir="rtl"] .tg-body h4.elementor-heading-title {
  line-height: 1.3;
}

/* ---------- Type scale (CSS class on a Heading widget, or on any element) ---------- */
/* Display/H1 titles render at weight 500 and line-height 1.08 (the heading base wins over the class in v14). */
.tg-body .tg-display:not(.elementor-widget),
.tg-body .tg-display .elementor-heading-title {
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 1.08;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.tg-body .tg-h1:not(.elementor-widget),
.tg-body .tg-h1 .elementor-heading-title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 500;
}
.tg-body .tg-h2:not(.elementor-widget),
.tg-body .tg-h2 .elementor-heading-title {
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  line-height: 1.08;
  font-weight: 500;
}
.tg-body .tg-h3:not(.elementor-widget),
.tg-body .tg-h3 .elementor-heading-title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 500;
}
.tg-body .tg-h4:not(.elementor-widget),
.tg-body .tg-h4 .elementor-heading-title {
  font-size: 1.25rem;
  font-weight: 500;
}
html[dir="rtl"] .tg-body .tg-display .elementor-heading-title,
html[dir="rtl"] .tg-body .tg-display:not(.elementor-widget),
html[dir="rtl"] .tg-body .tg-h1 .elementor-heading-title {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}
html[dir="rtl"] .tg-body .tg-h2 .elementor-heading-title,
html[dir="rtl"] .tg-body .tg-h2:not(.elementor-widget) {
  line-height: 1.3;
}
/* Space under a title (Elementor heading inside a split/section header). */
.tg-body .tg-mb-14 .elementor-heading-title,
.tg-body .tg-mb-14:not(.elementor-widget) {
  margin-bottom: 14px;
}

/* Lead / intro paragraphs (CSS class on a Text Editor widget). */
.tg-body .tg-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--tg-body);
}
.tg-body .tg-lead:not(.elementor-widget),
.tg-body .tg-lead p {
  max-width: 52ch;
}
.tg-body .tg-intro {
  color: var(--tg-body);
}
.tg-body .tg-muted {
  color: var(--tg-muted);
}
.tg-body .tg-small {
  font-size: 0.86rem;
  color: var(--tg-muted);
}
.tg-body .tg-center {
  text-align: center;
}

/* Eyebrow label — CSS class "tg-eyebrow" on a Heading (HTML tag: span). Add "tg-eyebrow-plain" for no dot. */
.tg-body .tg-eyebrow:not(.elementor-widget),
.tg-body .tg-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tg-font-body);
  font-size: 0.8rem;
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tg-gold);
  margin-bottom: 22px;
}
.tg-body .tg-eyebrow:not(.elementor-widget)::before,
.tg-body .tg-eyebrow .elementor-heading-title::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--tg-gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.tg-body .tg-eyebrow.plain::before,
.tg-body .tg-eyebrow-plain .elementor-heading-title::before {
  display: none;
}
.tg-body .tg-eyebrow-gold-deep .elementor-heading-title,
.tg-body .tg-eyebrow.gold-deep {
  color: var(--tg-gold-deep);
}
.tg-body .tg-eyebrow.dash::before {
  width: 26px;
  height: 1px;
  border-radius: 0;
}
html[dir="rtl"] .tg-body .tg-eyebrow:not(.elementor-widget),
html[dir="rtl"] .tg-body .tg-eyebrow .elementor-heading-title {
  letter-spacing: 0.02em;
}

/* ---------- Layout: plain markup ---------- */
.tg-container {
  width: 100%;
  max-width: var(--tg-container);
  margin: 0 auto;
  padding: 0 var(--tg-gutter);
}

/* ---------- Layout: Elementor containers ----------
   Section = outer container, "Boxed" content width, CSS class "tg-section".
   Modifiers: tg-alt (warm background) · tg-dark (navy) · tg-top-line · tg-tight · tg-pt-0 · tg-pb-0 */
.e-con.tg-section,
.e-con.tg-phero,
.e-con.tg-band,
.e-con.tg-cta,
.e-con.tg-flush,
.e-con.tg-topbar,
.e-con.tg-header,
.e-con.tg-footer,
.e-con.tg-footer-bottom-wrap {
  --padding-left: 0px;
  --padding-right: 0px;
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  --content-width: min(100%, var(--tg-container));
  --margin-top: 0px;
  --margin-bottom: 0px;
  position: relative;
}
.e-con.tg-section > .e-con-inner,
.e-con.tg-phero > .e-con-inner,
.e-con.tg-band > .e-con-inner,
.e-con.tg-cta > .e-con-inner,
.e-con.tg-topbar > .e-con-inner,
.e-con.tg-header > .e-con-inner,
.e-con.tg-footer > .e-con-inner,
.e-con.tg-footer-bottom-wrap > .e-con-inner,
.e-con.tg-wrap {
  padding-inline: var(--tg-gutter);
}
.e-con.tg-flush {
  --padding-top: 0px;
  --padding-bottom: 0px;
}
.e-con.tg-section {
  --padding-top: var(--tg-section);
  --padding-bottom: var(--tg-section);
}
.e-con.tg-section.tg-tight {
  --padding-top: calc(var(--tg-section) * 0.55);
  --padding-bottom: calc(var(--tg-section) * 0.55);
}
.e-con.tg-pb-0 {
  --padding-bottom: 0px;
}
.e-con.tg-pt-0 {
  --padding-top: 0px;
}
.e-con.tg-top-line,
.tg-section.top-line {
  border-top: 1px solid var(--tg-line);
}
.e-con.tg-alt,
.tg-section.alt,
.tg-bg-alt {
  background-color: var(--tg-bg-alt);
}
.e-con.tg-dark,
.tg-section.dark {
  background-color: var(--tg-dark);
  color: var(--tg-on-dark);
}
.tg-section:not(.e-con) {
  padding: var(--tg-section) 0;
  position: relative;
}
.tg-body .tg-dark h1,
.tg-body .tg-dark h2,
.tg-body .tg-dark h3,
.tg-body .tg-dark h4,
.tg-body .tg-section.dark h1,
.tg-body .tg-section.dark h2,
.tg-body .tg-section.dark h3,
.tg-body .tg-section.dark h4 {
  color: var(--tg-on-dark);
}
.tg-body .tg-dark .tg-lead,
.tg-body .tg-dark p,
.tg-body .tg-dark .tg-intro,
.tg-body .tg-section.dark p {
  color: var(--tg-on-dark-muted);
}
.tg-body .tg-dark .tg-eyebrow .elementor-heading-title {
  color: var(--tg-gold);
}

/* Giant faint background word — CSS class "tg-wordmark" on a Heading, inside a container with "tg-wordmark-wrap". */
.e-con.tg-wordmark-wrap > .e-con-inner {
  position: static;
}
.tg-wordmark-wrap,
.tg-body .e-con.tg-wordmark-wrap {
  position: relative;
  --overflow: clip;
  overflow-x: clip; /* the giant word must not create sideways scrolling */
}
.tg-body .tg-wordmark {
  position: absolute !important;
  top: -0.35em;
  left: 50%;
  transform: translateX(-50%);
  width: auto !important;
  max-width: none !important;
  font-family: var(--tg-font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(4rem, 15vw, 13rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--tg-ink);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  margin: 0;
}
.tg-body .tg-wordmark .elementor-heading-title {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: 1;
}
.tg-body .tg-dark .tg-wordmark,
.tg-body .tg-section.dark .tg-wordmark {
  color: #fff;
  opacity: 0.05;
}
.tg-wordmark-wrap > .e-con-inner > *:not(.tg-wordmark),
.tg-wordmark-wrap > .tg-container {
  position: relative;
  z-index: 1;
}

/* Section header: eyebrow + title (left) / intro (right). Grid container, CSS class "tg-shead" (+ "tg-stack" for one column). */
.e-con.tg-shead,
.tg-shead:not(.e-con) {
  --e-con-grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  --gap: clamp(24px, 4vw, 72px);
  --row-gap: clamp(24px, 4vw, 72px);
  --column-gap: clamp(24px, 4vw, 72px);
  --align-items: end;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: grid;
  grid-template-columns: var(--e-con-grid-template-columns);
  gap: var(--row-gap) var(--column-gap);
  align-items: var(--align-items);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.e-con.tg-shead.tg-stack,
.tg-shead.stack {
  --e-con-grid-template-columns: 1fr;
}
.tg-shead .intro,
.tg-shead .tg-intro {
  color: var(--tg-body);
}
@media (max-width: 900px) {
  .e-con.tg-shead,
  .tg-shead:not(.e-con) {
    --e-con-grid-template-columns: 1fr;
    --row-gap: 18px;
    --gap: 18px;
  }
}

/* Plain column wrapper inside a grid (no padding, no gap): CSS class "tg-col". */
.e-con.tg-col {
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  display: block;
}

/* 12-column split: grid container "tg-split" (+ "tg-start"); children "tg-c4" … "tg-c8". */
.e-con.tg-split,
.tg-split:not(.e-con) {
  --e-con-grid-template-columns: repeat(12, 1fr);
  --gap: clamp(28px, 4vw, 80px);
  --row-gap: clamp(28px, 4vw, 80px);
  --column-gap: clamp(28px, 4vw, 80px);
  --align-items: center;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: grid;
  grid-template-columns: var(--e-con-grid-template-columns);
  gap: var(--row-gap) var(--column-gap);
  align-items: var(--align-items);
}
.e-con.tg-split.tg-start,
.tg-split.start {
  --align-items: start;
}
.tg-split > .tg-c4,
.tg-split > .c4 {
  grid-column: span 4;
}
.tg-split > .tg-c5,
.tg-split > .c5 {
  grid-column: span 5;
}
.tg-split > .tg-c6,
.tg-split > .c6 {
  grid-column: span 6;
}
.tg-split > .tg-c7,
.tg-split > .c7 {
  grid-column: span 7;
}
.tg-split > .tg-c8,
.tg-split > .c8 {
  grid-column: span 8;
}
@media (max-width: 900px) {
  .tg-split > [class*="tg-c"],
  .tg-split > [class^="c"] {
    grid-column: span 12;
  }
}

/* ---------- Buttons ----------
   Button widget, CSS class "tg-btn" + optional "tg-ghost" · "tg-gold" · "tg-light" · "tg-on-dark".
   Plain markup: <a class="tg-btn ghost">. */
.tg-body .tg-btn:not(.elementor-widget),
.tg-body .tg-btn .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  border: 1px solid var(--tg-ink);
  background: var(--tg-ink);
  color: #fff;
  font-family: var(--tg-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 0;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  transition: all 0.35s var(--tg-ease);
}
.tg-body .tg-btn .elementor-button-content-wrapper,
.tg-body .tg-btn .elementor-button-text {
  display: inline;
  gap: 0;
}
.tg-body .tg-btn:not(.elementor-widget)::after,
.tg-body .tg-btn .elementor-button::after {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  transition: transform 0.35s var(--tg-ease);
}
.tg-body .tg-btn:not(.elementor-widget):hover,
.tg-body .tg-btn .elementor-button:hover,
.tg-body .tg-btn .elementor-button:focus {
  background: var(--tg-gold-deep);
  border-color: var(--tg-gold-deep);
  color: #fff;
}
.tg-body .tg-btn:not(.elementor-widget):hover::after,
.tg-body .tg-btn .elementor-button:hover::after {
  transform: rotate(45deg);
}
.tg-body .tg-btn.ghost,
.tg-body .tg-ghost .elementor-button {
  background: transparent;
  color: var(--tg-ink);
}
.tg-body .tg-btn.ghost:hover,
.tg-body .tg-ghost .elementor-button:hover {
  background: var(--tg-ink);
  border-color: var(--tg-ink);
  color: #fff;
}
.tg-body .tg-btn.gold,
.tg-body .tg-gold .elementor-button {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
}
.tg-body .tg-btn.gold:hover,
.tg-body .tg-gold .elementor-button:hover {
  background: var(--tg-gold-deep);
  border-color: var(--tg-gold-deep);
}
.tg-body .tg-btn.light,
.tg-body .tg-light .elementor-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.tg-body .tg-btn.light:hover,
.tg-body .tg-light .elementor-button:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tg-ink);
}
.tg-body .tg-btn.on-dark,
.tg-body .tg-on-dark .elementor-button {
  background: #fff;
  border-color: #fff;
  color: var(--tg-ink);
}
.tg-body .tg-btn.on-dark:hover,
.tg-body .tg-on-dark .elementor-button:hover {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
  color: #fff;
}
html[dir="rtl"] .tg-body .tg-btn:not(.elementor-widget),
html[dir="rtl"] .tg-body .tg-btn .elementor-button {
  letter-spacing: 0;
}

/* Row of buttons: container "tg-btn-row" (+ "tg-justify-center"). */
.e-con.tg-btn-row,
.tg-btn-row:not(.e-con) {
  --flex-direction: row;
  --flex-wrap: wrap;
  --justify-content: flex-start;
  --gap: 14px;
  --row-gap: 14px;
  --column-gap: 14px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: var(--flex-wrap);
  justify-content: var(--justify-content);
  gap: var(--row-gap) var(--column-gap);
  margin-top: 34px;
}
.tg-body .e-con.tg-btn-row > .elementor-widget {
  flex: 0 0 auto;
  width: auto;
  align-self: center;
  height: auto;
}
.e-con.tg-btn-row.tg-justify-center,
.tg-center .tg-btn-row,
.tg-cta .tg-btn-row {
  --justify-content: center;
}

/* Text link with arrow underline. */
.tg-body .tg-textlink:not(.elementor-widget),
.tg-body .tg-textlink .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tg-ink);
  background: transparent;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--tg-ink);
  border-radius: 0;
  transition: gap 0.3s, color 0.3s, border-color 0.3s;
}
.tg-body .tg-textlink:not(.elementor-widget) svg {
  width: 14px;
  height: 14px;
}
/* Arrow after the text of a "tg-textlink" Button widget. */
.tg-body .tg-textlink .elementor-button::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[dir="rtl"] .tg-body .tg-textlink .elementor-button::after {
  transform: scaleX(-1);
}
.tg-body .tg-textlink:not(.elementor-widget):hover,
.tg-body .tg-textlink .elementor-button:hover {
  gap: 16px;
  color: var(--tg-gold-deep);
  border-color: var(--tg-gold-deep);
  background: transparent;
}
.tg-body .tg-dark .tg-textlink:not(.elementor-widget),
.tg-body .tg-dark .tg-textlink .elementor-button {
  color: var(--tg-on-dark);
  border-color: var(--tg-on-dark);
}
html[dir="rtl"] .tg-textlink svg,
html[dir="rtl"] .tg-btn svg {
  transform: scaleX(-1);
}

/* ---------- Grids of cells: "tg-fgrid" + "tg-cols-2|3|4"; each cell container "tg-fcell" ---------- */
.e-con.tg-fgrid,
.tg-fgrid:not(.e-con) {
  --e-con-grid-template-columns: repeat(4, 1fr);
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: grid;
  grid-template-columns: var(--e-con-grid-template-columns);
  gap: 0;
  border-top: 1px solid var(--tg-line);
  border-left: 1px solid var(--tg-line);
}
.e-con.tg-fgrid.tg-cols-2,
.tg-fgrid.cols-2 {
  --e-con-grid-template-columns: repeat(2, 1fr);
}
.e-con.tg-fgrid.tg-cols-3,
.tg-fgrid.cols-3 {
  --e-con-grid-template-columns: repeat(3, 1fr);
}
.e-con.tg-fcell,
.tg-fcell:not(.e-con) {
  --padding-top: clamp(28px, 3vw, 46px);
  --padding-bottom: clamp(28px, 3vw, 46px);
  --padding-left: clamp(28px, 3vw, 46px);
  --padding-right: clamp(28px, 3vw, 46px);
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  border-right: 1px solid var(--tg-line);
  border-bottom: 1px solid var(--tg-line);
  background-color: var(--tg-bg);
  transition: background 0.4s var(--tg-ease);
  position: relative;
}
.tg-fcell:not(.e-con) {
  padding: clamp(28px, 3vw, 46px);
}
.tg-fcell:hover {
  background-color: var(--tg-bg-alt);
}
.tg-body .tg-fcell .tg-n .elementor-heading-title,
.tg-body .tg-fcell .n {
  font-family: var(--tg-font-head);
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--tg-gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 34px;
}
.tg-body .tg-fcell h3,
.tg-body .tg-fcell h4 {
  margin-bottom: 14px;
}
.tg-body .tg-fcell p {
  font-size: 0.95rem;
}
.tg-body .tg-fcell .tg-cell-text p {
  margin: 0 0 20px;
}
.tg-fcell ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.tg-fcell ul li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 0.9rem;
  color: var(--tg-body);
  margin-bottom: 8px;
}
.tg-fcell ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--tg-gold);
}
.tg-fcell .tg-textlink {
  margin-top: 26px;
}
.tg-fcell > .elementor-widget-button.tg-textlink {
  align-self: flex-start;
  width: auto;
}
.tg-body .tg-dark .tg-fgrid,
.tg-body .tg-dark .tg-fcell,
.tg-section.dark .tg-fgrid,
.tg-section.dark .tg-fcell {
  border-color: var(--tg-line-dark);
}
.tg-body .tg-dark .tg-fcell,
.tg-section.dark .tg-fcell {
  background-color: transparent;
}
.tg-body .tg-dark .tg-fcell:hover,
.tg-section.dark .tg-fcell:hover {
  background-color: rgba(255, 255, 255, 0.03);
}
@media (max-width: 1000px) {
  .e-con.tg-fgrid,
  .e-con.tg-fgrid.tg-cols-3,
  .tg-fgrid:not(.e-con),
  .tg-fgrid.cols-3,
  .tg-fgrid.cols-4 {
    --e-con-grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .e-con.tg-fgrid,
  .e-con.tg-fgrid.tg-cols-2,
  .e-con.tg-fgrid.tg-cols-3,
  .tg-fgrid:not(.e-con),
  .tg-fgrid.cols-2,
  .tg-fgrid.cols-3 {
    --e-con-grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials: grid "tg-quotes", cells "tg-quote" ---------- */
.e-con.tg-quotes {
  --e-con-grid-template-columns: repeat(3, 1fr);
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: grid;
  grid-template-columns: var(--e-con-grid-template-columns);
  border: 1px solid var(--tg-line);
}
.e-con.tg-quote {
  --padding-top: clamp(28px, 3vw, 44px);
  --padding-bottom: clamp(28px, 3vw, 44px);
  --padding-left: clamp(28px, 3vw, 44px);
  --padding-right: clamp(28px, 3vw, 44px);
  --gap: 0px;
  --row-gap: 0px;
  border-inline-end: 1px solid var(--tg-line);
}
.e-con.tg-quote:last-child {
  border-inline-end: 0;
}
.tg-body .tg-stars .elementor-heading-title {
  color: var(--tg-gold);
  letter-spacing: 3px;
  margin-bottom: 18px;
  font-family: var(--tg-font-body);
  font-size: 16px;
  line-height: 1.75;
}
.tg-body .tg-quote-text p {
  font-size: 1rem;
  color: var(--tg-ink);
  line-height: 1.65;
  margin-bottom: 22px;
}
.tg-body .tg-quote-by .elementor-heading-title {
  font-family: var(--tg-font-head);
  font-weight: 600;
  color: var(--tg-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  line-height: 1.75;
}
.tg-body .tg-quote-role .elementor-heading-title {
  font-family: var(--tg-font-body);
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--tg-muted);
}
@media (max-width: 900px) {
  .e-con.tg-quotes {
    --e-con-grid-template-columns: 1fr;
  }
  .e-con.tg-quote {
    border-inline-end: 0;
    border-bottom: 1px solid var(--tg-line);
  }
  .e-con.tg-quote:last-child {
    border-bottom: 0;
  }
}

/* ---------- Inner page hero: outer container "tg-phero" (+ "tg-dark") ---------- */
.e-con.tg-phero,
.tg-phero:not(.e-con) {
  --padding-top: clamp(60px, 8vw, 130px);
  --padding-bottom: clamp(40px, 5vw, 80px);
  border-bottom: 1px solid var(--tg-line);
}
.tg-phero:not(.e-con) {
  padding: clamp(60px, 8vw, 130px) 0 clamp(40px, 5vw, 80px);
  position: relative;
}
.e-con.tg-phero.tg-dark,
.tg-phero.dark {
  background-color: var(--tg-dark);
  border-color: transparent;
}
.tg-body .tg-phero.tg-dark h1,
.tg-body .tg-phero.tg-dark .tg-display .elementor-heading-title,
.tg-body .tg-phero.dark h1 {
  color: #fff;
}
.e-con.tg-phero-row,
.tg-phero .row {
  --e-con-grid-template-columns: 1.3fr 1fr;
  --gap: clamp(24px, 4vw, 64px);
  --row-gap: clamp(24px, 4vw, 64px);
  --column-gap: clamp(24px, 4vw, 64px);
  --align-items: end;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: grid;
  grid-template-columns: var(--e-con-grid-template-columns);
  gap: var(--row-gap) var(--column-gap);
  align-items: var(--align-items);
}
/* Like v14: the title column grows to fit its longest word (Elementor sets min-width:0 on containers). */
.tg-body .e-con.tg-phero-row > .e-con:first-child {
  min-width: min-content;
}
.tg-phero .intro,
.tg-phero .tg-intro {
  color: var(--tg-body);
  align-self: end;
}
.tg-body .tg-phero.tg-dark .tg-intro,
.tg-body .tg-phero.tg-dark .tg-intro p,
.tg-phero.dark .intro {
  color: var(--tg-on-dark-muted);
}
@media (max-width: 860px) {
  .e-con.tg-phero-row,
  .tg-phero .row {
    --e-con-grid-template-columns: 1fr;
    --row-gap: 20px;
    --gap: 20px;
  }
}
.e-con.tg-phero-images,
.tg-phero-images:not(.e-con) {
  --e-con-grid-template-columns: repeat(4, 1fr);
  --gap: 18px;
  --row-gap: 18px;
  --column-gap: 18px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: grid;
  grid-template-columns: var(--e-con-grid-template-columns);
  gap: var(--row-gap) var(--column-gap);
  margin-top: clamp(40px, 5vw, 72px);
}
@media (max-width: 700px) {
  .e-con.tg-phero-images,
  .tg-phero-images:not(.e-con) {
    --e-con-grid-template-columns: 1fr;
  }
}

/* ---------- Figures: Image widget "tg-figure" (+ "tg-r43" · "tg-r45" · "tg-r11" · "tg-r169") ---------- */
.tg-figure {
  position: relative;
  overflow: hidden;
  background: var(--tg-bg-alt);
}
.tg-body .tg-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--tg-ease);
}
.tg-figure:hover img {
  transform: scale(1.05);
}
.tg-body .tg-figure.tg-r43 img,
.tg-phero-images .tg-figure img {
  aspect-ratio: 4/3;
}
.tg-figure.r45,
.tg-body .tg-figure.tg-r45 img {
  aspect-ratio: 4/5;
}
.tg-figure.r11,
.tg-body .tg-figure.tg-r11 img {
  aspect-ratio: 1;
}
.tg-figure.r43 {
  aspect-ratio: 4/3;
}
.tg-figure.r169,
.tg-body .tg-figure.tg-r169 img {
  aspect-ratio: 16/9;
}
.tg-phero-images .tg-figure:not(.elementor-widget) {
  aspect-ratio: 4/3;
}

/* Media box with badge: container "tg-media" holding an Image + a container "tg-badge" (two Headings: tg-badge-n, tg-badge-t). */
.tg-media {
  position: relative;
  overflow: hidden;
  background-color: var(--tg-gold);
}
.e-con.tg-media {
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --gap: 0px;
  --row-gap: 0px;
}
.tg-body .tg-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1s var(--tg-ease);
  min-height: 340px;
}
.tg-media:hover img {
  transform: scale(1.04);
}
.tg-media .badge,
.e-con.tg-badge {
  --padding-top: 20px;
  --padding-bottom: 20px;
  --padding-left: 26px;
  --padding-right: 26px;
  --gap: 0px;
  --row-gap: 0px;
  --width: auto;
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
  background: var(--tg-gold);
  color: #fff;
  padding: 20px 26px;
  max-width: 62%;
  z-index: 2;
}
.tg-body .tg-badge-n .elementor-heading-title,
.tg-media .badge .n {
  font-family: var(--tg-font-head);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  display: block;
  color: #fff;
}
.tg-body .tg-badge-t .elementor-heading-title,
.tg-media .badge .t {
  font-family: var(--tg-font-body);
  font-size: 0.78rem;
  line-height: 1.75;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

/* ---------- Full-bleed image band: outer container "tg-band" with a background image ---------- */
.e-con.tg-band,
.tg-band:not(.e-con) {
  --min-height: clamp(360px, 42vw, 560px);
  --justify-content: center;
  --padding-top: 0px;
  --padding-bottom: 0px;
  min-height: var(--min-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--tg-dark);
  background-size: cover;
  background-position: center;
}
.e-con.tg-band > .e-con-inner {
  flex-grow: 0;
  height: auto;
}
.tg-band img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tg-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 20, 26, 0.82) 0%, rgba(1, 20, 26, 0.4) 55%, rgba(1, 20, 26, 0.15) 100%);
}
html[dir="rtl"] .tg-band::after {
  transform: scaleX(-1);
}
.tg-band > .e-con-inner,
.tg-band > .tg-container {
  position: relative;
  z-index: 2;
}
.tg-body .tg-band h2,
.tg-body .tg-band h3 {
  color: #fff;
}
.tg-body .tg-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}
.tg-body .tg-band .tg-band-text {
  margin-top: 16px;
}
.tg-body .tg-band .tg-eyebrow .elementor-heading-title {
  color: var(--tg-gold);
}
.tg-body .tg-maxw-18 .elementor-heading-title {
  max-width: 18ch;
}
.tg-body .tg-maxw-20 .elementor-heading-title {
  max-width: 20ch;
}

/* ---------- CTA band: outer container "tg-cta" ---------- */
.e-con.tg-cta,
.tg-cta:not(.e-con) {
  --padding-top: clamp(64px, 9vw, 130px);
  --padding-bottom: clamp(64px, 9vw, 130px);
  --align-items: center;
  background-color: var(--tg-dark);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.tg-cta:not(.e-con) {
  padding: clamp(64px, 9vw, 130px) 0;
  position: relative;
}
.e-con.tg-cta > .e-con-inner {
  align-items: center;
  text-align: center;
}
.tg-body .tg-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 4rem);
  text-transform: uppercase;
  font-weight: 600;
}
.tg-body .tg-cta .tg-eyebrow .elementor-heading-title,
.tg-body .tg-cta .tg-eyebrow:not(.elementor-widget) {
  color: var(--tg-gold);
  justify-content: center;
}

/* ---------- Top utility bar ---------- */
.tg-topbar {
  background: var(--tg-bg);
  border-bottom: 1px solid var(--tg-line);
  font-size: 0.8rem;
  color: var(--tg-body);
}
.e-con.tg-topbar {
  --min-height: var(--tg-topbar-h);
  --flex-direction: row;
  --justify-content: space-between;
  --align-items: center;
  --gap: 20px;
  --column-gap: 20px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  min-height: var(--min-height);
}
.e-con.tg-topbar > .e-con-inner,
.tg-topbar-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--tg-topbar-h);
  height: var(--tg-topbar-h);
}
.tg-body .e-con.tg-topbar > .e-con-inner > .elementor-element,
.tg-body .e-con.tg-topbar .e-con > .elementor-element {
  width: auto;
  flex: 0 0 auto;
  align-self: center;
  height: auto;
}
.e-con.tg-topbar-right,
.tg-topbar-right {
  --flex-direction: row;
  --gap: 18px;
  --column-gap: 18px;
  --align-items: center;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  width: auto;
}
.tg-topbar-left {
  display: flex;
  gap: 26px;
  align-items: center;
}
.tg-topbar-left span,
.tg-topbar-left a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.tg-topbar-left .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tg-gold);
}
.tg-topbar a:hover {
  color: var(--tg-gold-deep);
}
.tg-social-text {
  display: flex;
  gap: 18px;
  align-items: center;
}
.tg-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tg-lang svg {
  width: 14px;
  height: 14px;
}
.tg-lang ul {
  display: inline-flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tg-lang li.current a {
  color: var(--tg-gold-deep);
}

/* Sticky site header: the wrapper sticks so the top bar scrolls away and the main bar stays. */
.tg-site-header,
.elementor-location-header {
  position: sticky;
  top: calc(var(--tg-topbar-h) * -1);
  z-index: 100;
}
.admin-bar .tg-site-header,
.admin-bar .elementor-location-header {
  top: calc(32px - var(--tg-topbar-h));
}
@media (max-width: 860px) {
  body.tg-body {
    --tg-topbar-h: 0px;
  }
  .tg-topbar,
  .tg-topbar-left span:nth-child(n + 3) {
    display: none !important;
  }
}
@media (max-width: 782px) {
  .admin-bar .tg-site-header,
  .admin-bar .elementor-location-header {
    top: 0;
  }
}
@media screen and (max-width: 1370px) {
  .tg-body .tg-nav a {
    font-size: 0.76rem;
  }
}

/* ---------- Main header bar ---------- */
.tg-header {
  background: var(--tg-bg);
  border-bottom: 1px solid var(--tg-line);
  transition: box-shadow 0.3s;
}
.tg-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.e-con.tg-header {
  --min-height: var(--tg-header-h);
  --flex-direction: row;
  --justify-content: space-between;
  --align-items: center;
  --gap: 28px;
  --column-gap: 28px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  min-height: var(--min-height);
}
.e-con.tg-header > .e-con-inner,
.tg-header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--tg-header-h);
  height: var(--tg-header-h);
  transition: height 0.3s, min-height 0.3s;
}
.tg-header.scrolled > .e-con-inner,
.tg-header.scrolled .tg-header-inner {
  min-height: var(--tg-header-h-scrolled);
  height: var(--tg-header-h-scrolled);
}
.tg-body .e-con.tg-header .elementor-element.elementor-widget,
.tg-body .e-con.tg-header .e-con {
  width: auto;
  flex: 0 0 auto;
  align-self: center;
  height: auto;
}
.e-con.tg-header-actions,
.tg-header-actions {
  --flex-direction: row;
  --gap: 14px;
  --column-gap: 14px;
  --align-items: center;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.tg-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.tg-body .tg-logo .logo-main {
  display: block;
  width: auto;
  height: 72px;
  max-height: 72px;
  max-width: 150px;
  object-fit: contain;
  transition: height 0.3s;
}
.tg-header.scrolled .tg-logo .logo-main {
  height: 60px;
  max-height: 60px;
}
@media (max-width: 767px) {
  .tg-body .tg-logo .logo-main {
    height: 54px;
    max-height: 54px;
    max-width: 125px;
  }
}

.tg-nav ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tg-body .tg-nav a {
  display: block;
  padding: 10px;
  font-size: 0.85rem;
  line-height: 1.75;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--tg-ink);
  position: relative;
}
.tg-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--tg-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--tg-ease);
}
.tg-nav a:hover::after,
.tg-nav li.current-menu-item > a::after,
.tg-nav a.active::after {
  transform: scaleX(1);
}
.tg-body .tg-nav li.current-menu-item > a,
.tg-body .tg-nav a.active {
  color: var(--tg-gold-deep);
}
html[dir="rtl"] .tg-nav a {
  letter-spacing: 0.02em;
}
.tg-icon-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--tg-line);
  border-radius: 50%;
  background: transparent;
  color: var(--tg-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, color 0.3s;
}
.tg-icon-btn:hover {
  background: var(--tg-ink);
  color: #fff;
}
.tg-icon-btn svg {
  width: 18px;
  height: 18px;
}
.tg-burger {
  display: none;
}
@media (max-width: 1120px) {
  .tg-nav.tg-bp-1120 {
    display: none;
  }
  .tg-burger.tg-bp-1120 {
    display: inline-flex;
  }
}
@media (max-width: 1024px) {
  .tg-nav.tg-bp-1024 {
    display: none;
  }
  .tg-burger.tg-bp-1024 {
    display: inline-flex;
  }
}
@media (max-width: 767px) {
  .tg-nav.tg-bp-767 {
    display: none;
  }
  .tg-burger.tg-bp-767 {
    display: inline-flex;
  }
}
/* Header rows never wrap (Elementor wraps containers on mobile by default). */
.tg-body .e-con.tg-header,
.tg-body .e-con.tg-header-actions {
  --flex-wrap: nowrap;
  --flex-wrap-tablet: nowrap;
  --flex-wrap-mobile: nowrap;
}
.tg-body .e-con.tg-header > .e-con-inner,
.tg-body .e-con.tg-header-actions {
  flex-wrap: nowrap;
}
/* Menu items stay on one line; if the menu doesn't fit, main.js adds .tg-nav-overflow and the burger takes over. */
.tg-body .tg-nav a {
  white-space: nowrap;
}
.tg-body .tg-header.tg-nav-compact .tg-nav a {
  font-size: 0.74rem;
  padding-inline: 6px;
  letter-spacing: 0.02em;
}
.tg-header.tg-nav-compact .tg-nav ul {
  gap: 2px;
}
.tg-header.tg-nav-overflow .tg-nav {
  display: none;
}
.tg-header.tg-nav-overflow .tg-burger {
  display: inline-flex;
}
.tg-body .tg-header.tg-nav-overflow .elementor-widget-tg-nav-menu:has(> .elementor-widget-container > .tg-nav:only-child) {
  display: none;
}
/* A menu widget whose menu is hidden at this width takes no room (and no gap). */
@media (max-width: 1120px) {
  .tg-body .elementor-widget-tg-nav-menu:has(> .elementor-widget-container > .tg-nav.tg-bp-1120:only-child) {
    display: none;
  }
}
@media (max-width: 1024px) {
  .tg-body .elementor-widget-tg-nav-menu:has(> .elementor-widget-container > .tg-nav.tg-bp-1024:only-child) {
    display: none;
  }
}
@media (max-width: 767px) {
  .tg-body .elementor-widget-tg-nav-menu:has(> .elementor-widget-container > .tg-nav.tg-bp-767:only-child) {
    display: none;
  }
}
/* An Elementor widget that only holds a hidden burger shouldn't take space. */
.elementor-widget-tg-nav-menu:has(> .elementor-widget-container > .tg-burger:only-of-type) {
  line-height: 0;
}

/* Mobile drawer */
.tg-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 29, 38, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  z-index: 200;
}
.tg-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(86vw, 400px);
  background: var(--tg-dark);
  color: var(--tg-on-dark);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.5s var(--tg-ease);
  padding: 90px 34px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}
html[dir="rtl"] .tg-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
.tg-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}
.tg-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.tg-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tg-body .tg-drawer-nav a {
  display: block;
  padding: 15px 0;
  font-family: var(--tg-font-head);
  font-size: 1.7rem;
  line-height: 1.75;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 1px solid var(--tg-line-dark);
  color: var(--tg-on-dark);
}
.tg-drawer-foot {
  margin-top: auto;
  padding-top: 32px;
  color: var(--tg-on-dark-muted);
  font-size: 0.9rem;
}
.tg-drawer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tg-line-dark);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.tg-drawer-close svg {
  width: 18px;
  height: 18px;
}
html[dir="rtl"] .tg-drawer-close {
  right: auto;
  left: 22px;
}
body.tg-drawer-open {
  overflow: hidden;
}

/* ---------- Footer ---------- */
.tg-footer {
  background-color: var(--tg-dark-2);
  color: var(--tg-on-dark);
}
.tg-footer:not(.e-con) {
  padding-top: clamp(64px, 8vw, 110px);
}
.e-con.tg-footer {
  --padding-top: clamp(64px, 8vw, 110px);
  --padding-bottom: 0px;
}
.e-con.tg-footer-top,
.tg-footer-top {
  --e-con-grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  --gap: 44px;
  --row-gap: 44px;
  --column-gap: 44px;
  --padding-top: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  --padding-bottom: 60px;
  display: grid;
  grid-template-columns: var(--e-con-grid-template-columns);
  gap: var(--row-gap) var(--column-gap);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--tg-line-dark);
}
.tg-footer-brand img,
.tg-body .tg-footer-logo img {
  width: 130px;
  margin-bottom: 24px;
}
.tg-body .tg-footer-brand p,
.tg-body .tg-footer-tagline p {
  color: var(--tg-on-dark-muted);
  max-width: 34ch;
  font-size: 0.92rem;
}
.tg-body .tg-footer h5,
.tg-body .tg-footer-title .elementor-heading-title {
  font-family: var(--tg-font-body);
  font-size: 0.74rem;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tg-gold);
  margin-bottom: 22px;
}
html[dir="rtl"] .tg-body .tg-footer h5,
html[dir="rtl"] .tg-body .tg-footer-title .elementor-heading-title {
  letter-spacing: 0.02em;
}
.tg-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tg-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tg-body .tg-footer .tg-links a,
.tg-body .tg-footer .tg-links span,
.tg-body .tg-footer li a,
.tg-body .tg-footer li span {
  color: var(--tg-on-dark-muted);
  font-size: 0.92rem;
}
.tg-body .tg-footer .tg-links a:hover {
  color: #fff;
}
.tg-footer-marquee {
  display: none;
}
.e-con.tg-footer-bottom,
.tg-footer-bottom {
  --flex-direction: row;
  --flex-wrap: wrap;
  --justify-content: space-between;
  --align-items: center;
  --gap: 12px;
  --column-gap: 12px;
  --row-gap: 12px;
  --padding-top: 26px;
  --padding-bottom: 26px;
  --padding-left: 0px;
  --padding-right: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--tg-on-dark-muted);
}
.tg-footer-bottom:not(.e-con) {
  padding: 26px 0;
}
.tg-body .e-con.tg-footer-bottom > .elementor-widget {
  width: auto;
  flex: 0 0 auto;
  align-self: center;
  height: auto;
}
.tg-body .tg-footer-bottom p {
  margin: 0;
  color: var(--tg-on-dark-muted);
}
.tg-footer-social {
  display: flex;
  gap: 10px;
}
.tg-footer-social a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--tg-line-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.tg-footer-social a:hover {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
  color: var(--tg-dark-2);
}
.tg-footer-social svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 900px) {
  .e-con.tg-footer-top,
  .tg-footer-top {
    --e-con-grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .e-con.tg-footer-top,
  .tg-footer-top {
    --e-con-grid-template-columns: 1fr;
  }
}

/* ---------- Contact details / social (used by several widgets) ---------- */
.tg-cblocks {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.tg-body .tg-cblock p {
  margin: 0;
}
.tg-body .tg-cblock-k {
  display: inline-flex;
  font-family: var(--tg-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tg-gold-deep);
  margin: 0 0 1.1em !important;
}
html[dir="rtl"] .tg-body .tg-cblock-k {
  letter-spacing: 0.02em;
}
.tg-body .tg-cblock-v {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--tg-body);
}
.tg-contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.tg-contact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tg-line);
}
.tg-contact-row > div {
  padding-block: 26px;
  padding-inline: 0 24px;
  border-bottom: 1px solid var(--tg-line);
}
.tg-contact-row .k {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tg-gold-deep);
  margin-bottom: 10px;
}
.tg-contact-row .v {
  font-family: var(--tg-font-head);
  font-size: 1.3rem;
  color: var(--tg-ink);
}
.tg-contact-row a:hover {
  color: var(--tg-gold-deep);
}
@media (max-width: 900px) {
  .tg-contact-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tg-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.tg-social a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--tg-line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tg-ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.tg-social a:hover {
  background: var(--tg-ink);
  color: #fff;
  border-color: var(--tg-ink);
}
.tg-social svg {
  width: 16px;
  height: 16px;
}
.elementor-widget-tg-social-links .tg-social {
  margin-top: 0;
}

/* ---------- Reveal (only active once JS adds body.tg-animate) ---------- */
body.tg-animate .tg-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--tg-ease), transform 0.9s var(--tg-ease);
}
body.tg-animate .tg-reveal.in {
  opacity: 1;
  transform: none;
}
.elementor-editor-active .tg-reveal,
.elementor-editor-preview .tg-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Inner hero entrance */
.tg-phero .tg-eyebrow,
.tg-phero .tg-display,
.tg-phero h1,
.tg-phero .intro,
.tg-phero .tg-intro {
  opacity: 0;
  animation: tg-rise 1s var(--tg-ease) forwards;
}
.tg-phero .tg-display,
.tg-phero h1 {
  animation-delay: 0.12s;
}
.tg-phero .intro,
.tg-phero .tg-intro {
  animation-delay: 0.24s;
}
.tg-phero .tg-display h1 {
  animation: none;
  opacity: 1;
}
@keyframes tg-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tg-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- WP content defaults ---------- */
.tg-content {
  max-width: 760px;
  font-size: 1.02rem;
}
.tg-content h2,
.tg-content h3 {
  margin: 1.6em 0 0.5em;
}
.tg-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tg-content blockquote {
  margin: 2em 0;
  padding-inline-start: 24px;
  border-inline-start: 2px solid var(--tg-gold);
  font-family: var(--tg-font-head);
  font-size: 1.4rem;
  color: var(--tg-ink);
}
.tg-content ul,
.tg-content ol {
  padding-inline-start: 1.4em;
}
.tg-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.tg-post-grid .tg-meta {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tg-muted);
  margin: 18px 0 10px;
}
.tg-post-grid article h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .tg-post-grid {
    grid-template-columns: 1fr;
  }
}
.tg-pagination {
  display: flex;
  gap: 8px;
  margin-top: 48px;
}
.tg-pagination a,
.tg-pagination span {
  padding: 10px 16px;
  border: 1px solid var(--tg-line);
  font-size: 0.8rem;
}
.tg-pagination .current {
  background: var(--tg-ink);
  color: #fff;
  border-color: var(--tg-ink);
}
.tg-brand-hero-logo {
  width: 210px;
  max-width: 60%;
  margin-bottom: 30px;
}
.tg-phero.dark .tg-brand-hero-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* ---------- Floating WhatsApp ---------- */
.tg-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--tg-ease), box-shadow 0.3s;
}
.tg-wa svg {
  width: 32px;
  height: 32px;
}
.tg-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: tg-wa-pulse 2.4s infinite;
}
.tg-wa:hover {
  transform: scale(1.08);
  color: #fff;
}
@keyframes tg-wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
html[dir="rtl"] .tg-wa {
  right: auto;
  left: 22px;
}

/* ---------- Editor helpers ---------- */
.tg-empty-notice {
  padding: 22px 26px;
  border: 1px dashed var(--tg-gold);
  background: rgba(164, 144, 107, 0.08);
  color: var(--tg-gold-deep);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  body.tg-animate .tg-reveal {
    opacity: 1;
    transform: none;
  }
  .tg-phero *,
  .tg-phero .tg-eyebrow,
  .tg-phero .tg-display,
  .tg-phero .tg-intro {
    opacity: 1 !important;
    animation: none !important;
  }
  .tg-wa::after {
    animation: none;
  }
}

/* Blog post */
.tg-body .tg-maxw-title {
  max-width: 20ch;
}
.tg-post-figure {
  aspect-ratio: 3/2;
  margin-bottom: 56px;
}
.tg-body .tg-mt-22 {
  margin-top: 22px;
}
.tg-body .tg-mt-36 {
  margin-top: 36px;
}
.tg-body .tg-mt-40 {
  margin-top: 40px;
}
/* Footer logo: fixed width, natural height. */
.tg-body .tg-footer-logo .tg-logo .logo-main,
.tg-body .tg-footer-brand > img {
  width: 130px;
  height: auto;
  max-height: none;
  max-width: 100%;
  margin-bottom: 24px;
}
