/* ==========================================================================
   TEBTOM — design system (v0.3 "Modern Luxury")
   1. Fonts        5. Buttons         9. Footer               13. Classic pages
   2. Tokens       6. Header         10. Elementor bridge     14. Motion & a11y
   3. Base         7. Menu sheet     11. Utility classes
   4. Layout       8. Mobile dock    12. Homepage sections
   ========================================================================== */

/* 1. Fonts — self-hosted WOFF2 in assets/fonts. Latin families carry no Arabic
   glyphs, so Arabic words inside English UI fall through to the Arabic family. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url("../fonts/alexandria-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

/* 2. Tokens ------------------------------------------------------------------ */
:root {
	--tb-font-sans: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tb-font-display: "Plus Jakarta Sans", "Alexandria", system-ui, sans-serif;
	--tb-font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--tb-fs-display: clamp(2.6rem, 1.35rem + 4.4vw, 5.25rem);
	--tb-fs-h2: clamp(2rem, 1.3rem + 2.5vw, 3.5rem);
	--tb-fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.4rem);
	--tb-fs-lead: clamp(1.05rem, .98rem + .3vw, 1.2rem);
	--tb-fs-body: 1rem;
	--tb-fs-eyebrow: .72rem;
	--tb-lh-tight: 1.06;
	--tb-lh-body: 1.7;
	--tb-track-caps: .14em;

	--tb-maxw: 1280px;
	--tb-gutter: clamp(1.125rem, .5rem + 2.6vw, 2.75rem);
	--tb-section-y: clamp(4.5rem, 2.6rem + 6vw, 8.5rem);
	--tb-radius: 16px;
	--tb-radius-lg: 28px;
	--tb-radius-xl: 44px;
	--tb-ease: cubic-bezier(.22, .61, .36, 1);
	--tb-ease-out: cubic-bezier(.16, 1, .3, 1);
	--tb-dur: .9s;

	/* Light (default) */
	--tb-bg: #fbf9f5;
	--tb-bg-alt: #f4eee5;      /* warm sand  */
	--tb-bg-tint: #e9f1ee;     /* soft sage  */
	--tb-surface: #ffffff;
	--tb-surface-2: #f7f3ec;
	--tb-text: #24302f;
	--tb-muted: #5f6c69;
	--tb-heading: #0b3a40;
	--tb-em: #9a7330;
	--tb-brand: #0b4a4f;
	--tb-brand-2: #0f6164;
	--tb-on-brand: #ffffff;
	--tb-gold: #c39a4f;
	--tb-gold-soft: #ead9b4;
	--tb-gold-text: #8c6526;
	--tb-icon: #0f6164;
	--tb-icon-bg: #e6f0ed;
	--tb-line: rgba(11, 58, 64, .1);
	--tb-line-strong: rgba(11, 58, 64, .18);
	--tb-glow: #3fb4ae;
	--tb-link: #0f6164;
	--tb-header-bg: rgba(255, 255, 255, .78);
	--tb-shadow-sm: 0 2px 10px -4px rgba(11, 58, 64, .12);
	--tb-shadow: 0 30px 60px -32px rgba(11, 58, 64, .32);
	--tb-shadow-lg: 0 50px 100px -40px rgba(11, 58, 64, .4);
	color-scheme: light;
}

/* Dark — designed, not inverted. Also forced on deep-teal bands. */
:root[data-theme="dark"],
.tb-section--ink,
.tb-footer,
.tb-sheet,
.tb-cta-card {
	--tb-bg: #062a30;
	--tb-bg-alt: #08323a;
	--tb-bg-tint: #0a3a41;
	--tb-surface: #0c3d44;
	--tb-surface-2: #0f474e;
	--tb-text: #e4ecea;
	--tb-muted: #a5b8b4;
	--tb-heading: #f6f0e4;
	--tb-em: #e2c88f;
	--tb-brand: #f6f0e4;
	--tb-brand-2: #ffffff;
	--tb-on-brand: #0b3a40;
	--tb-gold: #d4b26e;
	--tb-gold-soft: rgba(212, 178, 110, .18);
	--tb-gold-text: #dec28a;
	--tb-icon: #e2c88f;
	--tb-icon-bg: rgba(255, 255, 255, .07);
	--tb-line: rgba(255, 255, 255, .1);
	--tb-line-strong: rgba(255, 255, 255, .2);
	--tb-link: #e2c88f;
	--tb-header-bg: rgba(8, 42, 47, .74);
	--tb-shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, .4);
	--tb-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
	--tb-shadow-lg: 0 50px 100px -40px rgba(0, 0, 0, .7);
	color-scheme: dark;
}
.tb-section--ink, .tb-footer, .tb-sheet, .tb-cta-card { color: var(--tb-text); }

[dir="rtl"] {
	--tb-font-sans: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
	--tb-font-display: "Alexandria", "Plus Jakarta Sans", system-ui, sans-serif;
	--tb-fs-display: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem);
	--tb-lh-tight: 1.35;
	--tb-lh-body: 1.85;
	--tb-track-caps: 0;
}

/* 3. Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
	margin: 0; background: var(--tb-bg); color: var(--tb-text);
	font-family: var(--tb-font-sans); font-size: var(--tb-fs-body); line-height: var(--tb-lh-body);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	transition: background-color .4s var(--tb-ease), color .4s var(--tb-ease);
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--tb-font-display); font-weight: 300; line-height: var(--tb-lh-tight);
	letter-spacing: -.025em; color: var(--tb-heading); margin: 0 0 .5em; text-wrap: balance;
}
h3, h4, h5, h6 { font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
h1 strong, h2 strong, .elementor-heading-title strong { font-weight: 600; }
h1 em, h2 em, h3 em, .elementor-heading-title em { font-family: var(--tb-font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--tb-em); }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; font-weight: 400; }
[dir="rtl"] h1 em, [dir="rtl"] h2 em, [dir="rtl"] h3 em, [dir="rtl"] .elementor-heading-title em { font-family: inherit; font-style: normal; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--tb-link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--tb-gold); }
:focus-visible { outline: 2px solid var(--tb-gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(195, 154, 79, .3); }
address { font-style: normal; }
.tb-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tb-skip { position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 1000; padding: .75rem 1.25rem; background: var(--tb-brand); color: var(--tb-on-brand); font-weight: 600; border-radius: 999px; }
.tb-skip:focus { top: 1rem; }
.tb-main:focus { outline: none; }

/* 4. Layout --------------------------------------------------------------------- */
.tb-container { width: 100%; max-width: calc(var(--tb-maxw) + 2 * var(--tb-gutter)); margin-inline: auto; padding-inline: var(--tb-gutter); }

/* 5. Buttons ---------------------------------------------------------------------
   Pill + gold arrow chip. Chip arrow rotates on hover; mirrored in Arabic. */
:root { --tb-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310282b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.tb-btn,
body .elementor-button {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .9rem;
	min-height: 54px; padding-block: .4rem; padding-inline: 1.6rem .45rem;
	font: 600 .95rem/1.1 var(--tb-font-sans); letter-spacing: -.005em; text-transform: none; text-decoration: none;
	border-radius: 999px; border: 1px solid transparent;
	background: var(--tb-brand); color: var(--tb-on-brand);
	box-shadow: 0 14px 30px -16px rgba(11, 58, 64, .55);
	transition: background-color .35s var(--tb-ease), color .35s, border-color .35s, box-shadow .35s, transform .35s var(--tb-ease);
}
.tb-btn::after,
body .elementor-button::after {
	content: ""; flex: none; width: 44px; height: 44px; border-radius: 50%;
	background: var(--tb-gold) var(--tb-arrow) center / 18px no-repeat;
	transition: transform .5s var(--tb-ease-out), background-color .35s;
}
.tb-btn:hover, body .elementor-button:hover { background: var(--tb-brand-2); color: var(--tb-on-brand); transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgba(11, 58, 64, .6); }
.tb-btn:hover::after, body .elementor-button:hover::after { transform: rotate(-45deg); }
[dir="rtl"] .tb-btn::after, [dir="rtl"] body .elementor-button::after { transform: scaleX(-1); }
[dir="rtl"] .tb-btn:hover::after, [dir="rtl"] body .elementor-button:hover::after { transform: scaleX(-1) rotate(-45deg); }
.elementor-button .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: .5rem; }

.tb-btn--light, .tb-btn-light .elementor-button { background: #fff; color: #0b3a40; }
.tb-btn--light:hover, .tb-btn-light .elementor-button:hover { background: #fff; color: #0b3a40; }
.tb-btn--outline, .tb-btn-outline .elementor-button, .tb-btn-ghost .elementor-button {
	background: transparent; color: var(--tb-heading); border-color: var(--tb-line-strong); box-shadow: none;
}
.tb-btn--outline:hover, .tb-btn-outline .elementor-button:hover, .tb-btn-ghost .elementor-button:hover { background: var(--tb-surface); color: var(--tb-heading); border-color: var(--tb-gold); }
.tb-btn--plain::after, .tb-btn-plain .elementor-button::after { display: none; }
.tb-btn--plain, .tb-btn-plain .elementor-button { padding-inline: 1.6rem; }

.tb-link-arrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600; color: var(--tb-heading); text-decoration: none; }
.tb-link-arrow::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--tb-gold-soft) var(--tb-arrow) center / 14px no-repeat; transition: transform .4s var(--tb-ease-out), background-color .3s; }
.tb-link-arrow:hover { color: var(--tb-heading); }
.tb-link-arrow:hover::after { transform: translateX(4px); background-color: var(--tb-gold); }
[dir="rtl"] .tb-link-arrow::after { transform: scaleX(-1); }
[dir="rtl"] .tb-link-arrow:hover::after { transform: scaleX(-1) translateX(4px); }

/* Header CTA (bilingual pill) */
.tb-cta {
	display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; padding-block: .3rem; padding-inline: 1.15rem .35rem;
	border-radius: 999px; background: var(--tb-brand); color: var(--tb-on-brand); text-decoration: none;
	box-shadow: 0 12px 26px -14px rgba(11, 58, 64, .6); transition: background-color .3s, transform .3s var(--tb-ease);
}
.tb-cta:hover { background: var(--tb-brand-2); color: var(--tb-on-brand); transform: translateY(-1px); }
.tb-cta__text { display: grid; line-height: 1.15; text-align: start; }
.tb-cta__primary { font-size: .84rem; font-weight: 600; }
.tb-cta__secondary { font-family: "IBM Plex Sans Arabic", var(--tb-font-sans); font-size: .74rem; opacity: .75; }
[dir="rtl"] .tb-cta__secondary { font-family: "Plus Jakarta Sans", sans-serif; }
.tb-cta__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tb-gold); color: #10282b; }
.tb-cta__icon .tb-icon { width: 18px; height: 18px; }

/* 6. Header — floating glass bar --------------------------------------------------- */
.tb-header { position: sticky; top: 0; z-index: 100; padding: 14px var(--tb-gutter) 0; pointer-events: none; }
.admin-bar .tb-header { top: var(--wp-admin--admin-bar--height, 32px); }
.tb-header .tb-header__inner {
	pointer-events: auto; max-width: 1360px; margin-inline: auto; padding: .5rem; padding-inline-start: 1.25rem;
	display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem);
	background: var(--tb-header-bg); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
	border: 1px solid var(--tb-line); border-radius: 999px; box-shadow: 0 16px 44px -26px rgba(11, 58, 64, .45);
	transition: padding .4s var(--tb-ease), box-shadow .4s;
}
.tb-header.is-scrolled .tb-header__inner { box-shadow: 0 20px 50px -24px rgba(11, 58, 64, .55); }
.tb-header__brand { order: 1; flex: none; }
.tb-header__nav { order: 2; flex: 1; display: flex; justify-content: center; }
.tb-header__tools { order: 3; display: flex; align-items: center; gap: .6rem; }
.tb-header__compact { order: 4; display: none; align-items: center; gap: .4rem; }

.tb-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .25rem; text-decoration: none; color: var(--tb-muted); }
.tb-brand__img { height: 44px; width: auto; }
.tb-header .tb-brand__tagline { display: none; }
.tb-brand__tagline { font-size: .8rem; color: var(--tb-gold-text); white-space: nowrap; }

.tb-header__phone { display: none; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 500; color: var(--tb-text); text-decoration: none; padding-inline: .5rem; }
@media (min-width: 1480px) { .tb-header__phone { display: inline-flex; } }

.tb-lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--tb-icon-bg); font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.tb-lang__link { display: grid; place-items: center; min-width: 36px; height: 32px; padding-inline: .5rem; border-radius: 999px; color: var(--tb-muted); text-decoration: none; transition: background-color .3s, color .3s; }
.tb-lang__link[aria-current="true"] { background: var(--tb-surface); color: var(--tb-heading); box-shadow: var(--tb-shadow-sm); }
.tb-lang__sep { display: none; }

.tb-mode { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--tb-line); background: var(--tb-surface); color: var(--tb-heading); cursor: pointer; transition: border-color .3s, transform .5s var(--tb-ease); }
.tb-mode:hover { border-color: var(--tb-gold); transform: rotate(20deg); }
.tb-mode .tb-icon { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity .3s, transform .5s var(--tb-ease); }
[data-theme="dark"] .tb-mode__moon, :root:not([data-theme="dark"]) .tb-mode__sun { opacity: 0; transform: rotate(-60deg) scale(.6); }

/* Navigation: English label + Arabic beneath (mirrored on /ar/) */
.tb-nav__list { list-style: none; margin: 0; padding: 0; }
.tb-nav__list--desktop { display: flex; align-items: center; gap: .15rem; }
.tb-nav__list--desktop > .tb-nav__item { position: relative; }
.tb-nav__list--desktop .tb-nav__link {
	display: flex; flex-direction: column; align-items: center; gap: .05rem; padding: .4rem .85rem; border-radius: 999px;
	text-decoration: none; color: var(--tb-text); text-align: center; transition: background-color .3s, color .3s;
}
.tb-nav__primary { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tb-nav__secondary { font-family: "IBM Plex Sans Arabic", var(--tb-font-sans); font-size: .78rem; color: var(--tb-muted); white-space: nowrap; line-height: 1.25; }
[dir="rtl"] .tb-nav__primary { font-size: .92rem; letter-spacing: 0; text-transform: none; }
[dir="rtl"] .tb-nav__secondary { font-family: "Plus Jakarta Sans", sans-serif; font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tb-nav__list--desktop .tb-nav__link:hover { background: var(--tb-icon-bg); color: var(--tb-heading); }
.tb-nav__list--desktop .is-active > .tb-nav__link { background: var(--tb-icon-bg); }
.tb-nav__list--desktop .is-active > .tb-nav__link .tb-nav__primary { color: var(--tb-heading); }
.tb-nav__list--desktop .is-active > .tb-nav__link .tb-nav__primary::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: .4rem; border-radius: 50%; background: var(--tb-gold); vertical-align: .2em; }

.tb-nav__list--desktop .sub-menu {
	position: absolute; top: calc(100% + .75rem); inset-inline-start: 50%; translate: -50% 0; min-width: 280px;
	list-style: none; margin: 0; padding: .6rem; background: var(--tb-surface); border: 1px solid var(--tb-line); border-radius: 22px;
	box-shadow: var(--tb-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .35s var(--tb-ease), visibility .3s;
}
[dir="rtl"] .tb-nav__list--desktop .sub-menu { translate: 50% 0; }
.tb-nav__list--desktop .has-children:hover > .sub-menu, .tb-nav__list--desktop .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tb-nav__list--desktop .sub-menu .tb-nav__link { align-items: flex-start; padding: .65rem .9rem; border-radius: 14px; }
.tb-nav__list--desktop .sub-menu .tb-nav__primary { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 500; }

@media (max-width: 1199.98px) {
	.tb-header__nav, .tb-header__lang, .tb-header__mode { display: none; }
	.tb-header__compact { display: flex; }
	.tb-header__tools { margin-inline-start: auto; }
}
@media (max-width: 767.98px) {
	.tb-header { padding-top: 10px; }
	.tb-header__tools { display: none; }
	.tb-header__compact { margin-inline-start: auto; }
	.tb-brand__img { height: 38px; }
}
.tb-menu-btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding-inline: 1.05rem .9rem; border: 0; border-radius: 999px; background: var(--tb-brand); color: var(--tb-on-brand); font: 600 .85rem/1 var(--tb-font-sans); cursor: pointer; }
.tb-menu-btn__bars { display: grid; gap: 5px; width: 18px; }
.tb-menu-btn__bars span { display: block; height: 1.5px; border-radius: 2px; background: currentColor; }
.tb-menu-btn__bars span:last-child { width: 60%; margin-inline-start: auto; }

/* 7. Menu sheet ---------------------------------------------------------------- */
.tb-sheet { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: radial-gradient(90% 50% at 100% 0%, rgba(63, 180, 174, .18), transparent 60%), radial-gradient(70% 40% at 0% 100%, rgba(212, 178, 110, .14), transparent 60%), var(--tb-bg); overscroll-behavior: contain; }
.tb-sheet::backdrop { background: rgba(3, 20, 23, .6); }
.tb-sheet[open] { animation: tb-sheet-in .55s var(--tb-ease-out) both; }
.tb-sheet.is-closing { animation: tb-sheet-out .3s ease-in both; }
@keyframes tb-sheet-in { from { opacity: 0; transform: translateY(-16px) scale(.99); } }
@keyframes tb-sheet-out { to { opacity: 0; transform: translateY(-12px); } }
.tb-sheet__frame { display: flex; flex-direction: column; min-height: 100%; padding: max(1rem, env(safe-area-inset-top)) var(--tb-gutter) max(1.5rem, env(safe-area-inset-bottom)); }
.tb-sheet__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--tb-line); }
.tb-sheet__head .tb-brand__img { height: 40px; }
.tb-sheet__head .tb-brand__tagline { display: none; }
.tb-sheet__close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--tb-line-strong); background: transparent; color: var(--tb-heading); cursor: pointer; }
.tb-nav--sheet { flex: 1; padding-block: 1.25rem; }
.tb-nav__list--sheet { display: grid; }
.tb-nav__list--sheet .tb-nav__link { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-decoration: none; border-bottom: 1px solid var(--tb-line); }
.tb-nav__list--sheet .tb-nav__primary { font-family: var(--tb-font-display); font-size: clamp(1.45rem, 5.5vw, 2.1rem); font-weight: 300; letter-spacing: -.02em; color: var(--tb-heading); text-transform: none; }
.tb-nav__list--sheet .tb-nav__secondary { font-size: .95rem; color: var(--tb-gold-text); }
.tb-nav__list--sheet .sub-menu { list-style: none; margin: 0; padding: .25rem 0 .75rem; padding-inline-start: 1rem; }
.tb-nav__list--sheet .sub-menu .tb-nav__link { border: 0; padding: .45rem 0; }
.tb-nav__list--sheet .sub-menu .tb-nav__primary { font-family: var(--tb-font-sans); font-size: 1rem; font-weight: 400; color: var(--tb-text); }
.tb-sheet[open] .tb-nav__list--sheet > li { animation: tb-rise .7s var(--tb-ease-out) both; }
.tb-sheet[open] .tb-nav__list--sheet > li:nth-child(2) { animation-delay: .05s; }
.tb-sheet[open] .tb-nav__list--sheet > li:nth-child(3) { animation-delay: .1s; }
.tb-sheet[open] .tb-nav__list--sheet > li:nth-child(4) { animation-delay: .15s; }
.tb-sheet[open] .tb-nav__list--sheet > li:nth-child(5) { animation-delay: .2s; }
.tb-sheet[open] .tb-nav__list--sheet > li:nth-child(6) { animation-delay: .25s; }
@keyframes tb-rise { from { opacity: 0; transform: translateY(18px); } }
.tb-sheet__foot { display: grid; gap: 1.25rem; }
.tb-sheet__cta { width: 100%; justify-content: space-between; min-height: 60px; }
.tb-sheet__row { display: flex; align-items: center; justify-content: space-between; }
.tb-sheet__contact { display: grid; gap: .6rem; font-size: .9rem; color: var(--tb-muted); }
.tb-sheet__contact a, .tb-sheet__contact span { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.tb-sheet__contact .tb-icon { color: var(--tb-gold); }
@media (min-width: 768px) {
	.tb-sheet__frame { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto 1fr; column-gap: 4rem; }
	.tb-sheet__head { grid-column: 1 / -1; }
	.tb-sheet__foot { align-content: end; padding-block: 1.5rem; }
}

/* 8. Mobile dock ------------------------------------------------------------------ */
.tb-dock { display: none; }
@media (max-width: 767.98px) {
	body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
	.tb-dock {
		position: fixed; inset-inline: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 90;
		display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .35rem; padding: .35rem;
		border-radius: 999px; background: rgba(8, 42, 47, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
		box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .55);
	}
	.tb-dock__item { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 999px; color: #eef3f1; text-decoration: none; font-size: .82rem; font-weight: 600; }
	.tb-dock__item .tb-icon { width: 19px; height: 19px; color: #e2c88f; }
	.tb-dock__item--book { background: #f6f0e4; color: #0b3a40; }
	.tb-dock__item--book .tb-icon { color: #0b3a40; }
}

/* 9. Footer ------------------------------------------------------------------------ */
.tb-footer { position: relative; margin-top: 0; padding-top: clamp(4rem, 8vw, 6rem); background: radial-gradient(60% 80% at 90% 0%, rgba(63, 180, 174, .12), transparent 60%), var(--tb-bg); border-radius: var(--tb-radius-xl) var(--tb-radius-xl) 0 0; font-size: .95rem; }
.tb-footer__thread { position: absolute; inset-inline: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--tb-gold), transparent); opacity: .7; }
.tb-footer__grid { display: grid; gap: 3rem 2rem; grid-template-columns: 1.6fr repeat(3, 1fr); }
.tb-footer .tb-brand__img { height: auto; width: min(220px, 70%); }
.tb-footer__about { margin-top: 1.5rem; max-width: 36ch; color: var(--tb-muted); }
.tb-footer__heading { font-family: var(--tb-font-sans); font-size: var(--tb-fs-eyebrow); font-weight: 700; letter-spacing: var(--tb-track-caps); text-transform: uppercase; color: var(--tb-gold-text); margin-bottom: 1.25rem; }
.tb-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.tb-footer__links a, .tb-footer__contact a { color: var(--tb-text); text-decoration: none; }
.tb-footer__links a:hover, .tb-footer__contact a:hover { color: var(--tb-gold); }
.tb-footer__contact p { display: flex; gap: .75rem; margin-bottom: .8rem; color: var(--tb-muted); }
.tb-footer__contact .tb-icon { color: var(--tb-gold); margin-top: .2em; }
.tb-footer__social { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; gap: .5rem; }
.tb-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tb-icon-bg); color: var(--tb-gold-text); }
.tb-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; margin-top: 4rem; padding-block: 1.75rem; border-top: 1px solid var(--tb-line); font-size: .82rem; color: var(--tb-muted); }
.tb-footer__bottom p { margin: 0; }
.tb-footer__legal ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.tb-footer__legal a { color: var(--tb-muted); text-decoration: none; }
.tb-footer__note { flex-basis: 100%; font-size: .78rem; opacity: .8; }
@media (max-width: 1023.98px) { .tb-footer__grid { grid-template-columns: 1fr 1fr; } .tb-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 559.98px) { .tb-footer__grid { grid-template-columns: 1fr; } }

/* 10. Elementor bridge ---------------------------------------------------------------
   Elementor globals follow the active tokens, so editor-picked colours switch with
   light/dark mode and inside deep-teal bands. */
body[class*="elementor-kit-"], .tb-section--ink, .tb-footer, .tb-cta-card {
	--e-global-color-primary: var(--tb-brand);
	--e-global-color-secondary: var(--tb-glow);
	--e-global-color-text: var(--tb-text);
	--e-global-color-accent: var(--tb-gold);
	--e-global-color-tbheading: var(--tb-heading);
	--e-global-color-tbgoldtext: var(--tb-gold-text);
	--e-global-color-tbmuted: var(--tb-muted);
	--e-global-color-tbbg: var(--tb-bg);
	--e-global-color-tbsurface: var(--tb-surface);
	--e-global-color-tbline: var(--tb-line);
	--e-global-color-tbonbrand: var(--tb-on-brand);
	--e-global-typography-primary-font-family: var(--tb-font-display);
	--e-global-typography-secondary-font-family: var(--tb-font-sans);
	--e-global-typography-text-font-family: var(--tb-font-sans);
	--e-global-typography-accent-font-family: var(--tb-font-sans);
}
.elementor .elementor-heading-title { line-height: var(--tb-lh-tight); color: var(--tb-heading); font-family: var(--tb-font-display); font-weight: 300; }
.elementor h3.elementor-heading-title, .elementor h4.elementor-heading-title { font-weight: 500; line-height: 1.25; }
.elementor-widget-text-editor { color: var(--tb-text); }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.tb-canvas-content { overflow-x: clip; }

.e-con.tb-section {
	--padding-top: var(--tb-section-y); --padding-bottom: var(--tb-section-y);
	--padding-left: var(--tb-gutter); --padding-right: var(--tb-gutter);
	--padding-inline-start: var(--tb-gutter); --padding-inline-end: var(--tb-gutter);
	position: relative;
}
.e-con.tb-section--tight { --padding-top: calc(var(--tb-section-y) * .55); --padding-bottom: calc(var(--tb-section-y) * .55); }
.e-con.tb-section--flush { --padding-top: 0; --padding-bottom: 0; }
.e-con.tb-section--alt { background-color: var(--tb-bg-alt); }
.e-con.tb-section--tint { background-color: var(--tb-bg-tint); }
.e-con.tb-section--deep { background-color: var(--tb-bg-alt); }
.e-con.tb-section--ink {
	background: radial-gradient(70% 90% at 0% 0%, rgba(63, 180, 174, .18), transparent 55%), radial-gradient(60% 80% at 100% 100%, rgba(212, 178, 110, .12), transparent 60%), #062a30;
}
.e-con.tb-section--round { margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: var(--tb-radius-xl); overflow: hidden; }

/* 11. Utility classes (Elementor "CSS Classes" field) ---------------------------------- */
.tb-eyebrow .elementor-heading-title, p.tb-eyebrow, .tbw-eyebrow {
	display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .8rem;
	font-family: var(--tb-font-sans) !important; font-size: var(--tb-fs-eyebrow); font-weight: 700; line-height: 1.2;
	letter-spacing: var(--tb-track-caps); text-transform: uppercase; color: var(--tb-heading);
	background: var(--tb-surface); border: 1px solid var(--tb-line); border-radius: 999px; box-shadow: var(--tb-shadow-sm);
}
.tb-eyebrow .elementor-heading-title::before, p.tb-eyebrow::before, .tbw-eyebrow::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tb-gold); box-shadow: 0 0 0 0 rgba(195, 154, 79, .6); animation: tb-pulse 2.4s infinite;
}
@keyframes tb-pulse { 0% { box-shadow: 0 0 0 0 rgba(195, 154, 79, .55); } 70% { box-shadow: 0 0 0 9px rgba(195, 154, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(195, 154, 79, 0); } }
[dir="rtl"] .tb-eyebrow .elementor-heading-title, [dir="rtl"] .tbw-eyebrow { font-size: .85rem; font-weight: 600; }
.tb-section--ink .tb-eyebrow .elementor-heading-title, .tb-cta-card .tb-eyebrow .elementor-heading-title { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }

.tb-display .elementor-heading-title, .tb-display { font-size: var(--tb-fs-display); }
.tb-h2 .elementor-heading-title, .tb-h2 { font-size: var(--tb-fs-h2); }
.tb-h3 .elementor-heading-title, .tb-h3 { font-size: var(--tb-fs-h3); }
.tb-lead, .tb-lead p { font-size: var(--tb-fs-lead); line-height: 1.65; color: var(--tb-muted); }
.tb-measure { max-width: 60ch; }
.tb-center, .tb-center .elementor-heading-title, .tb-center p { text-align: center; margin-inline: auto; }

/* Organic photo frames */
.tb-shape img, img.tb-shape {
	width: 100%; object-fit: cover; aspect-ratio: 4 / 4.6;
	border-start-start-radius: var(--tb-radius-xl); border-start-end-radius: 220px;
	border-end-end-radius: var(--tb-radius-xl); border-end-start-radius: var(--tb-radius-xl);
	box-shadow: var(--tb-shadow-lg);
}
.tb-shape--wide img { aspect-ratio: 5 / 4; }
.tb-shape--alt img { border-start-start-radius: 220px; border-start-end-radius: var(--tb-radius-xl); }
.tb-round img, img.tb-round { width: 100%; object-fit: cover; border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow); }

/* Section heads */
.e-con.tb-head { align-items: center; text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); --gap: 1.1rem; }
.e-con.tb-head--start { align-items: flex-start; text-align: start; margin-inline: 0; max-width: none; }
.tbw-journey__head, .tbw-doctors__head, .tbw-specs__head, .tbw-faq__head, .tbw-feat__head { display: grid; justify-items: center; gap: 1.1rem; max-width: 820px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.tbw-journey__title, .tbw-doctors__title, .tbw-specs__title, .tbw-faq__title, .tbw-feat__title { font-size: var(--tb-fs-h2); margin: 0; }
.tbw-journey__intro, .tbw-doctors__intro, .tbw-specs__intro, .tbw-faq__intro, .tbw-feat__intro { font-size: var(--tb-fs-lead); color: var(--tb-muted); margin: 0; max-width: 60ch; }
.tbw-empty { padding: 2rem; border: 1px dashed var(--tb-line-strong); border-radius: var(--tb-radius); text-align: center; color: var(--tb-muted); }

/* Icon chip (used by widgets) */
.tbw-ichip { display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px; background: var(--tb-icon-bg); color: var(--tb-icon); transition: background-color .4s, color .4s, transform .5s var(--tb-ease-out); }
.tbw-ichip .tbw-icon { width: 30px; height: 30px; }

/* 12. Homepage sections --------------------------------------------------------------- */

/* Hero — light, airy, photographic */
.e-con.tb-hero {
	--padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); --padding-bottom: clamp(4rem, 2.5rem + 5vw, 7rem);
	--padding-left: var(--tb-gutter); --padding-right: var(--tb-gutter);
	position: relative; isolation: isolate; overflow: hidden; margin-top: -84px; padding-top: calc(84px + var(--padding-top));
	background:
		radial-gradient(45% 55% at 85% 20%, rgba(63, 180, 174, .16), transparent 70%),
		radial-gradient(35% 45% at 8% 85%, rgba(195, 154, 79, .14), transparent 70%),
		var(--tb-bg);
}
.e-con.tb-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
	background: url("../images/deco/thread.svg") center 100% / 100% auto no-repeat;
}
:root[data-theme="dark"] .e-con.tb-hero { background: radial-gradient(45% 55% at 85% 20%, rgba(63, 180, 174, .22), transparent 70%), radial-gradient(35% 45% at 8% 85%, rgba(212, 178, 110, .12), transparent 70%), var(--tb-bg); }
.tb-hero .tb-display .elementor-heading-title { max-width: 13ch; }
[dir="rtl"] .tb-hero .tb-display .elementor-heading-title { max-width: 16ch; }
.tb-hero .tb-lead { max-width: 52ch; }
@media (max-width: 767.98px) { .e-con.tb-hero::before { display: none; } }

/* Specialty ticker band */
.e-con.tb-ticker { background: var(--tb-surface); border-block: 1px solid var(--tb-line); --padding-top: 1.6rem; --padding-bottom: 1.6rem; --padding-left: 0; --padding-right: 0; }
.e-con.tb-ticker > .e-con-inner { max-width: none; }

/* Button groups, sticky columns */
.e-con.tb-buttons > .elementor-widget { width: auto; }
@media (min-width: 1025px) { .e-con.tb-sticky { position: sticky; top: 120px; align-self: flex-start; } }

/* Statement / intro */
.tb-statement .elementor-heading-title { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.75rem); line-height: 1.3; max-width: 28ch; margin-inline: auto; text-align: center; }

/* Testimonial card */
.e-con.tb-quote-card { position: relative; max-width: 920px; margin-inline: auto; padding: clamp(2.5rem, 5vw, 4.5rem) !important; border-radius: var(--tb-radius-xl); background: var(--tb-surface); box-shadow: var(--tb-shadow); text-align: center; align-items: center; }
.tb-quote .elementor-heading-title { font-family: var(--tb-font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.3; letter-spacing: -.01em; color: var(--tb-heading); }
[dir="rtl"] .tb-quote .elementor-heading-title { font-family: var(--tb-font-display); font-style: normal; font-weight: 300; }
.tb-quote-mark .elementor-heading-title { font-family: var(--tb-font-serif); font-size: 6rem; line-height: .5; color: var(--tb-gold); height: 2.6rem; }
.tb-note, .tb-note p { font-size: .82rem; color: var(--tb-muted); text-align: center; }

/* CTA photo card */
.e-con.tb-cta-card {
	position: relative; isolation: isolate; overflow: hidden; border-radius: var(--tb-radius-xl);
	padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem) !important; align-items: center; text-align: center;
	background-color: #062a30; background-size: cover; background-position: center;
}
.e-con.tb-cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 42, 48, .55), rgba(6, 42, 48, .9)), radial-gradient(60% 80% at 50% 120%, rgba(63, 180, 174, .35), transparent 70%); }
.tb-cta-card .tb-lead { max-width: 54ch; color: #cfdcd9; }

/* Contact definition list */
.tb-contact-list dl { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; margin: 0; }
.tb-contact-list dt { font-size: var(--tb-fs-eyebrow); font-weight: 700; letter-spacing: var(--tb-track-caps); text-transform: uppercase; color: var(--tb-gold-text); padding-top: .25em; }
.tb-contact-list dd { margin: 0; }

/* 13. Classic pages --------------------------------------------------------------------- */
.tb-page-head { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); text-align: center; }
.tb-page-title { font-size: var(--tb-fs-h2); }
.tb-prose { max-width: calc(760px + 2 * var(--tb-gutter)); padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.tb-prose h2 { font-size: var(--tb-fs-h3); margin-top: 2em; }
.tb-list-item { padding-block: 1.5rem; border-bottom: 1px solid var(--tb-line); }
.tb-404 { padding-block: clamp(5rem, 12vw, 10rem); text-align: center; }
.tb-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* 14. Motion & accessibility ----------------------------------------------------------------
   .tb-reveal fades up; .tb-clip reveals an image from the bottom; children of
   .tb-stagger reveal one after another (delays set by theme.js). */
.tb-reveal, .tb-stagger > .elementor-element, .tb-stagger > .e-con-inner > .elementor-element, .tb-stagger > [data-tb-item] { opacity: 0; transform: translateY(28px); transition: opacity var(--tb-dur) var(--tb-ease-out), transform var(--tb-dur) var(--tb-ease-out); transition-delay: var(--tb-delay, 0s); }
.tb-reveal.is-in, .tb-stagger.is-in > .elementor-element, .tb-stagger.is-in > .e-con-inner > .elementor-element, .tb-stagger.is-in > [data-tb-item] { opacity: 1; transform: none; }
.tb-clip img { clip-path: inset(100% 0 0 0 round var(--tb-radius-xl)); transform: scale(1.12); transition: clip-path 1.4s var(--tb-ease-out), transform 2.2s var(--tb-ease-out); }
.tb-clip.is-in img { clip-path: inset(0 0 0 0 round 0); transform: none; }
.tb-float, .tb-float .elementor-widget-container { animation: tb-float 7s ease-in-out infinite; }
@keyframes tb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.no-js .tb-reveal, .no-js .tb-stagger > *, .elementor-editor-active .tb-reveal, .elementor-editor-active .tb-stagger .elementor-element { opacity: 1 !important; transform: none !important; }
.no-js .tb-clip img, .elementor-editor-active .tb-clip img { clip-path: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.tb-reveal, .tb-stagger > * { opacity: 1 !important; transform: none !important; }
	.tb-clip img { clip-path: none !important; transform: none !important; }
}
@media (forced-colors: active) { .tb-btn, body .elementor-button, .tb-cta { border: 2px solid ButtonText; } }
@media print { .tb-header, .tb-dock, .tb-sheet, .tb-footer__social { display: none !important; } body { background: #fff; color: #000; } }
