/*
  TIYE ACADEMY - MAIN STYLESHEET
  Purpose: shared visual system for English and Arabic pages.
  Structure: foundation, layout, navigation, hero, actions, content,
  reviews, gallery, forms, footer, mobile app navigation, responsive rules.
  Maintenance note: each selector is defined once per responsive context.
  Negative visual overlap has been removed from the main layout.
*/

/* ============================================================

   01 FOUNDATION & TYPOGRAPHY

   ============================================================ */

:root {
  --red: #be1522;
  --red-dark: #96111b;
  --ink: #171719;
  --muted: #666970;
  --line: #e8e8eb;
  --soft: #f8f8f9;
  --radius: 24px;
  --max: 1200px;
  font-family: "Poppins",Arial,sans-serif;
  color: var(--ink);
  background: white;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.17;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.25rem,4.3vw,4.1rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.8rem,3vw,2.65rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin-block: 0 1.1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

h2+p, h3+p {
  margin-top: 1rem;
}

address {
  font-style: normal;
}

bdi, [dir=ltr] {
  unicode-bidi: isolate;
}

small {
  font-size: .88rem;
}

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.soft {
  background: var(--soft);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 20px;
  background: white;
  padding: 12px;
  z-index: 200;
}

.skip-link:focus {
  top: 10px;
}

.mobile-only {
  display: none;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: white;
}

.card h3 {
  line-height: 1.4;
}

.card p {
  margin-top: 12px;
}

.accent-card {
  border-top: 4px solid var(--red);
}

details[open]>summary>i {
  transform: rotate(45deg);
}

details p {
  padding-top: 14px;
  max-width: 840px;
}

.optional-module {
  margin-top: 20px;
}

th, td {
  text-align: start;
  padding: 20px;
  border: 1px solid var(--line);
  vertical-align: top;
}

thead {
  background: var(--ink);
  color: white;
}

tbody th {
  font-weight: 600;
}

video {
  width: 100%;
  max-height: 440px;
  background: #111;
  border-radius: 12px;
}

#search-status {
  margin-block: 24px;
}

.copy-status {
  margin-top: 12px;
}

[dir=rtl] {
  font-family: "Cairo",Tahoma,Arial,sans-serif;
}

[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3 {
  letter-spacing: 0;
  line-height: 1.5;
}

[dir=rtl] .eyebrow {
  letter-spacing: 0;
}

html {
  scroll-padding-block-start: 110px;
  scroll-padding-block-end: 90px;
}

h1, h2, h3, p, summary, address {
  overflow-wrap: break-word;
}

.proof-link:hover {
  color: var(--red);
}

.student-links {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

/* ============================================================

   09 FORMS & SEARCH

   ============================================================ */

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

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #1571ce;
  outline-offset: 4px;
}

::selection {
  background: #f0c7cd;
}

.contact-note {
  margin-top: 30px;
}

.contact-note>a {
  color: var(--red);
  font-weight: 700;
}

.inquiry-form {
  max-width: 850px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.inquiry-form label {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.inquiry-form input, .inquiry-form select, .inquiry-form textarea, .search-form input {
  display: block;
  width: 100%;
  border: 1px solid #b7bcc5;
  border-radius: 8px;
  padding: 12px;
  background: white;
  margin-top: 8px;
  min-height: 48px;
  color: var(--ink);
  font-size: 1rem;
}

.inquiry-form input[type=tel], .inquiry-form input[type=email] {
  direction: ltr;
  text-align: start;
}

.inquiry-form textarea {
  resize: vertical;
}

.form-note {
  font-size: .85rem;
  margin-top: 14px;
}

.search-form {
  max-width: 800px;
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 10px;
}

.search-form input {
  margin-top: 0;
}

.inquiry-form .button {
  margin-top: 10px;
}

/* ============================================================

   05 BUTTONS & CALLS TO ACTION

   ============================================================ */

button, a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 9px;
  background: var(--red);
  border: 1px solid var(--red);
  color: white;
  font-weight: 700;
  font-size: .96rem;
  min-height: 48px;
  text-align: center;
  line-height: 1.5;
}

.button:hover {
  background: var(--red-dark);
  color: white;
  border-color: var(--red-dark);
}

.button-outline {
  border-color: #ffffff90;
  background: transparent;
  color: white;
}

.button-outline:hover {
  background: white;
  color: var(--ink);
  border-color: white;
}

.button-light {
  background: white;
  color: var(--red);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 700;
  min-height: 44px;
  margin-top: 16px;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link .fa-arrow-right {
  font-size: .85em;
}

[dir=rtl] .text-link .fa-arrow-right {
  transform: rotate(180deg);
}

.cta-section {
  background: #141518;
  color: white;
  border-top: 4px solid var(--red);
}

.cta-section .eyebrow, .cta-section p {
  color: #fff;
}

.cta-section .button {
  background: white;
  color: var(--red);
  border-color: white;
}

.cta-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.cta-inner p {
  max-width: 700px;
  margin: 0;
}

.cta-inner .button {
  flex: none;
  margin-top: 20px;
}

.section > .wrap > .button {
  margin-top: 22px;
}

/* ============================================================

   02 LAYOUT & SPACING

   ============================================================ */

.wrap {
  width: min(var(--max),calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding-block: 94px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-heading h2 {
  max-width: 760px;
  font-weight: 600;
  line-height: 1.15;
}

.grid {
  display: grid;
  gap: 24px;
}

.cols-2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.cols-3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.cols-4 {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.grid>* {
  min-width: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ============================================================

   03 HEADER & PRIMARY NAVIGATION

   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
  border-bottom: 1px solid #eee;
  box-shadow: 0 5px 28px #17171907;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 86px;
}

.brand {
  flex: none;
}

.brand img {
  width: 103px;
  height: 65px;
  object-fit: contain;
}

.header-inner nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-inline-start: auto;
}

.header-inner nav>a {
  font-size: .9rem;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header-inner nav>a[aria-current] {
  color: var(--red);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: none;
}

.language-switch {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: .9rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 12px;
  min-height: 44px;
}

.menu-button {
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  width: 44px;
  height: 44px;
  color: var(--ink);
}

[dir=rtl] .header-inner nav {
  gap: 19px;
}

[dir=rtl] .header-inner nav>a {
  font-size: .87rem;
}

main, section, .hero-content, .header-inner, .program-body, .enrol-card {
  min-width: 0;
}

.header-inner nav>a, .nav-dropdown>summary {
  font-size: .79rem;
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown>summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown>summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown[open]>summary i {
  transform: rotate(180deg);
}

.nav-dropdown>summary.current-section {
  color: var(--red);
}

.nav-submenu {
  position: absolute;
  inset-inline-start: -18px;
  top: calc(100% - 2px);
  width: 275px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 15px;
  box-shadow: 0 18px 55px #1717191c;
  padding: 10px;
  z-index: 75;
}

.nav-submenu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  font-size: .85rem;
  border-radius: 9px;
}

.nav-submenu a:hover, .nav-submenu a[aria-current] {
  background: #be15220b;
  color: var(--red);
}

.footer-brandmark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 18px;
  line-height: 1;
}

.footer-brandmark-tiye {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.055em;
  color: #e02636;
}

.footer-brandmark-academy {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
}

/* ============================================================

   04 HERO & TOP OF PAGE

   ============================================================ */

.hero-carousel {
  background: #16191c;
  position: relative;
  color: white;
}

.hero-slide {
  position: relative;
  min-height: 650px;
  isolation: isolate;
  display: flex;
  align-items: center;
}

.hero-slide[hidden] {
  display: none !important;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 48%;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#111319e8,#111319a4 42%,#1113191e);
  z-index: -1;
}

[dir=rtl] .hero-shade {
  background: linear-gradient(-90deg,#111319e8,#111319a4 42%,#1113191e);
}

.hero-content {
  padding-block: 80px 112px;
}

.hero-content .eyebrow {
  color: #ff9faa;
}

.hero-content h1, .hero-content h2 {
  font-size: clamp(2.85rem,4.8vw,4.65rem);
  line-height: 1.08;
  max-width: 750px;
  color: white;
  letter-spacing: -.045em;
  font-weight: 600;
}

.hero-content p {
  color: #eee;
  max-width: 640px;
  font-size: 1.05rem;
  margin-block: 24px 30px;
  line-height: 1.85;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  margin-top: 0;
  padding-bottom: 20px;
  z-index: 2;
  direction: ltr;
  padding-block: 18px 24px;
}

.slider-controls>button {
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff70;
  color: white;
  background: transparent;
  border-radius: 50%;
  font-size: 1.3rem;
  flex: none;
}

.slider-controls>button:hover {
  background: #ffffff20;
}

.slide-dots {
  display: flex;
  gap: 2px;
}

.slide-dot {
  height: 44px;
  width: 44px;
  border: 0;
  background: transparent;
  position: relative;
  flex: none;
}

.slide-dot:after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 5px;
  position: absolute;
  top: 18px;
  left: 18px;
  background: #a6a6a6;
}

.slide-dot.active:after {
  width: 20px;
  left: 12px;
  background: white;
}

.slider-count {
  font-size: .8rem;
  color: #ddd;
  margin-left: 10px;
}

.proof-bar {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.proof-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding-block: 23px;
  gap: 20px;
}

.proof-bar .wrap>div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .85rem;
  line-height: 1.5;
}

.proof-bar i {
  color: var(--red);
  font-size: 1.1rem;
}

.page-hero {
  background: var(--soft);
  padding-block: 52px 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 940px;
}

.page-hero .lead {
  font-size: 1.12rem;
  margin-top: 22px;
  max-width: 840px;
}

.page-hero-image {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius);
}

[dir=rtl] .hero-content h1, [dir=rtl] .hero-content h2 {
  line-height: 1.4;
  font-size: clamp(2.6rem,4.2vw,4rem);
}

[dir=rtl] .slider-controls {
  direction: rtl;
}

[dir=rtl] .slider-controls>button i {
  transform: rotate(180deg);
}

[dir=rtl] .slider-count {
  direction: ltr;
  margin-left: 0;
  margin-right: 10px;
}

.proof-bar .wrap>* {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .79rem;
}

.proof-bar .wrap>*+* {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 20px;
}

.hero-content .actions {
  margin-top: 30px;
}

.program-page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,.8fr);
  gap: 56px;
  align-items: center;
}

/* ============================================================

   06 PROGRAMS & CONTENT CARDS

   ============================================================ */

.program-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}

.program-card:hover {
  box-shadow: 0 12px 35px #11111110;
}

.program-card>a {
  overflow: hidden;
}

.program-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .25s;
}

.program-card:hover img {
  transform: scale(1.025);
}

.program-body {
  padding: 27px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-body h3 {
  font-size: 1.55rem;
}

.program-body .eyebrow {
  margin-bottom: 8px;
}

.program-body p {
  font-size: .98rem;
  margin-top: 12px;
}

.program-body .hours {
  color: var(--red);
  font-weight: 700;
  font-size: .88rem;
}

.program-body .text-link {
  margin-top: auto;
  padding-top: 10px;
}

.founder-feature {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  background: var(--ink);
  color: white;
  overflow: hidden;
  border-radius: 28px;
  align-items: center;
}

.founder-feature>img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: 50% 30%;
}

.founder-feature>div {
  padding: 50px;
}

.founder-feature .eyebrow {
  color: #ff9faa;
}

.founder-feature p {
  color: #d6d8de;
  margin-block: 20px;
}

.founder-feature .text-link {
  color: white;
  margin: 0;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.partner-logos>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 25px;
  gap: 16px;
}

.partner-logos img {
  height: 90px;
  width: 180px;
  object-fit: contain;
}

.partner-logos h3 {
  font-size: 1.1rem;
}

.faqs details, .curriculum details {
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}

.faqs summary, .curriculum summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  line-height: 1.6;
}

.faqs summary::-webkit-details-marker, .curriculum summary::-webkit-details-marker {
  display: none;
}

.faqs summary i, .curriculum summary i {
  margin-inline-start: auto;
  font-size: .8rem;
  color: var(--red);
  flex: none;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 52px;
  align-items: start;
  padding-block: 52px 70px;
}

.program-main {
  min-width: 0;
}

.program-main>h2 {
  font-size: 1.8rem;
  margin-top: 42px;
  margin-bottom: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-grid>div {
  padding: 23px;
  text-align: center;
  border-inline-end: 1px solid var(--line);
}

.stat-grid>div:last-child {
  border: 0;
}

.stat-grid strong {
  display: block;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--red);
  white-space: nowrap;
}

.stat-grid span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  margin-top: 8px;
}

.enrol-card {
  position: sticky;
  top: 112px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: 0 10px 30px #00000006;
}

.enrol-card h2 {
  font-size: 1.5rem;
}

.enrol-card p {
  font-size: .91rem;
  margin-top: 16px;
}

.enrol-card .button {
  width: 100%;
  margin-top: 22px;
}

.module-num {
  color: var(--red);
  font-size: .9rem;
  flex: none;
}

.curriculum summary small {
  font-weight: 400;
  color: var(--muted);
  margin-inline-start: auto;
  white-space: nowrap;
}

.curriculum summary i {
  margin-inline-start: 4px;
}

.curriculum p {
  padding-inline-start: 38px;
}

.faculty-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faculty-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.faculty-card>div {
  padding: 24px;
}

.faculty-card h2 {
  font-size: 1.45rem;
}

.faculty-card p {
  font-size: .92rem;
  margin-top: 12px;
}

.faculty-card .eyebrow {
  font-size: .72rem;
}

[dir=rtl] .program-body h3 {
  font-size: 1.4rem;
}

.program-card, .faculty-card, .card {
  border-color: var(--line);
  box-shadow: 0 8px 30px #17171906;
}

.program-card, .faculty-card {
  transition: transform .25s,box-shadow .25s;
}

.program-cover {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #f4f4f5;
  box-shadow: 0 18px 50px #17171912;
}

.program-cover img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ============================================================

   06 PAGE CONTENT & COMPONENTS

   ============================================================ */

.faqs {
  max-width: 950px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.crumb a {
  text-decoration: underline;
}

.check-list {
  list-style: none;
  padding: 0;
  margin-block: 20px;
}

.check-list li {
  position: relative;
  padding-inline-start: 22px;
  margin-bottom: 13px;
  color: var(--muted);
}

.check-list li:before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--red);
  font-weight: 700;
}

.notice {
  margin-top: 24px;
  border-inline-start: 3px solid var(--red);
  background: var(--soft);
  padding: 20px;
}

.event-placeholder img {
  border-radius: var(--radius);
}

.event-placeholder figcaption {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 10px;
}

.table-scroll {
  overflow: auto;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.phone-number {
  font-size: 1.7rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 15px;
}

.credential {
  max-width: 100%;
  max-height: 750px;
  object-fit: contain;
  margin-bottom: 24px;
}

.video-frame {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: 14px;
  background: #17191c;
}

.video-frame iframe {
  border: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================

   10 FOOTER

   ============================================================ */

.footer {
  background: #17191c;
  color: white;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.2fr;
  gap: 38px;
  padding-bottom: 45px;
}

.footer p, .footer address {
  color: #c5c8ce;
  font-size: .88rem;
}

.footer h2 {
  font-size: 1.04rem;
  margin-bottom: 18px;
  letter-spacing: 0;
}

.footer-grid>div>a {
  display: block;
  color: #ddd;
  margin-bottom: 8px;
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.footer-grid a:hover, .footer-bottom a:hover {
  color: #ff9faa;
}

.footer-grid address {
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid #ffffff25;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
  font-size: .78rem;
  color: #ccc;
}

.footer-bottom>div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-block: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.1rem;
}

.social-links a:hover {
  color: var(--red);
  background: white;
}

/* ============================================================

   11 MOBILE APP NAV & QUICK CONTACT

   ============================================================ */

.desktop-whatsapp {
  position: fixed;
  bottom: 25px;
  inset-inline-end: 24px;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  background: #126a43;
  color: white;
  display: grid;
  place-items: center;
  z-index: 30;
  box-shadow: 0 5px 20px #0002;
  font-size: 1.65rem;
}

.desktop-whatsapp:hover {
  background: #0c5434;
  color: white;
}

.tiye-app-bottom-nav {
  display: none;
}

/* ============================================================

   08 GALLERY & LIGHTBOX

   ============================================================ */

.photo-grid {
  columns: 3;
  column-gap: 18px;
}

.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-item:hover {
  opacity: .92;
}

.lightbox {
  padding: 0;
  border: 0;
  background: #111;
  border-radius: 10px;
  max-width: 95vw;
  max-height: 95dvh;
}

.lightbox::backdrop {
  background: #000d;
}

.lightbox img {
  max-height: 90dvh;
  max-width: 90vw;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  inset-inline-end: 20px;
  top: 16px;
  width: 44px;
  height: 44px;
  background: white;
  color: #111;
  border: 0;
  border-radius: 50%;
  z-index: 2;
}

.gallery-item:after {
  content: "";
  font-family: FontAwesome;
  position: absolute;
  inset-inline-end: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #171719;
  box-shadow: 0 3px 15px #0002;
}

.lightbox:not([open]) {
  display: none;
}

.lightbox[open] {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 70px 76px;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: #08090bf5;
  color: #fff;
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox .lightbox-stage img {
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-caption {
  color: #ddd;
  font-size: .84rem;
  padding-top: 14px;
}

.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff50;
  background: #242529;
  color: #fff;
  border-radius: 50%;
  z-index: 2;
  font-size: 1.3rem;
}

.lightbox-prev {
  inset-inline-start: 16px;
  top: calc(50% - 24px);
}

.lightbox-next {
  inset-inline-end: 16px;
  top: calc(50% - 24px);
}

.lightbox-status {
  position: absolute;
  bottom: 20px;
  inset-inline: 20px;
  text-align: center;
  direction: ltr;
}

/* ============================================================

   07 STUDENT REVIEWS CAROUSEL

   ============================================================ */

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px)/3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 1px 15px;
  scrollbar-width: thin;
}

.tiye-review-card {
  scroll-snap-align: start;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.tiye-review-stars {
  display: flex;
  gap: 4px;
  color: var(--red);
  font-size: .8rem;
}

.tiye-review-card blockquote {
  margin: 22px 0 30px;
  line-height: 1.9;
}

.tiye-review-card blockquote p {
  color: var(--ink);
  margin: 0;
}

.tiye-review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.tiye-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #ddd;
  color: var(--red);
  font-size: .74rem;
  font-weight: 700;
}

.tiye-review-person strong {
  display: block;
  font-size: .89rem;
}

.tiye-review-person span:not(.tiye-review-avatar) {
  font-size: .75rem;
  color: var(--muted);
}

.reviews-controls {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
}

.reviews-controls>button {
  border: 1px solid #d1d2d6;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: #fff;
  font-size: 1.25rem;
}

.review-dots {
  display: flex;
}

.review-dots button {
  position: relative;
  width: 38px;
  height: 44px;
  background: transparent;
  border: 0;
}

.review-dots button:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: 18px;
  left: 15px;
  border-radius: 8px;
  background: #bbb;
}

.review-dots button[aria-pressed=true]:after {
  width: 20px;
  left: 9px;
  background: var(--red);
}

.review-status {
  font-size: .77rem;
  color: var(--muted);
  direction: ltr;
  margin-inline-start: auto;
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (min-width:1500px)
   ============================================================ */
@media (min-width:1500px) {
  /* ============================================================

     04 HERO & TOP OF PAGE

     ============================================================ */

  .hero-slide {
    min-height: 690px;
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (hover:hover)
   ============================================================ */
@media (hover:hover) {
  /* ============================================================

     06 PROGRAMS & CONTENT CARDS

     ============================================================ */

  .program-card:hover, .faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px #17171911;
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (max-width:1150px)
   ============================================================ */
@media (max-width:1150px) {
  /* ============================================================

     03 HEADER & PRIMARY NAVIGATION

     ============================================================ */

  .header-inner {
    gap: 16px;
  }

  .header-inner nav {
    gap: 14px;
  }

  .header-inner nav>a {
    font-size: .82rem;
  }

  .header-actions {
    gap: 8px;
  }

  [dir=rtl] .header-inner nav {
    gap: 12px;
  }

  .language-switch {
    padding: 8px;
  }

  /* ============================================================

     02 LAYOUT & SPACING

     ============================================================ */

  .cols-4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  /* ============================================================

     06 PROGRAMS & CONTENT CARDS

     ============================================================ */

  .program-layout {
    gap: 30px;
    grid-template-columns: minmax(0,1fr) 310px;
  }

  .founder-feature>div {
    padding: 35px;
  }

  /* ============================================================

     10 FOOTER

     ============================================================ */

  .footer-grid {
    gap: 25px;
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (max-width:1000px)
   ============================================================ */
@media (max-width:1000px) {
  /* ============================================================

     03 HEADER & PRIMARY NAVIGATION

     ============================================================ */

  .header-inner {
    min-height: 80px;
    justify-content: space-between;
  }

  .header-inner nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 15px 30px;
    box-shadow: 0 10px 20px #0001;
    max-height: calc(100dvh - 150px);
    overflow: auto;
  }

  .header-inner nav.open {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 24px;
    max-height: calc(100dvh - 90px);
  }

  .header-inner nav>a {
    padding: 10px;
    font-size: 1rem;
    white-space: normal;
  }

  .menu-button {
    display: block;
  }

  .brand img {
    height: 59px;
    width: 94px;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .language-switch {
    padding: 8px 12px;
  }

  .header-inner nav>a, .nav-dropdown>summary {
    min-height: 48px;
    font-size: 1rem;
    padding: 10px;
    border-bottom: 1px solid var(--line);
  }

  .nav-dropdown>summary i {
    margin-inline-start: auto;
  }

  .nav-submenu {
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    border-inline-start: 2px solid var(--red);
    border-radius: 0;
    margin: 8px 10px 12px;
    background: var(--soft);
  }

  /* ============================================================

     01 FOUNDATION & TYPOGRAPHY

     ============================================================ */

  .mobile-only {
    display: inline;
  }

  /* ============================================================

     02 LAYOUT & SPACING

     ============================================================ */

  .cols-3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .split {
    gap: 32px;
  }

  /* ============================================================

     10 FOOTER

     ============================================================ */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  /* ============================================================

     06 PROGRAMS & CONTENT CARDS

     ============================================================ */

  .program-layout {
    grid-template-columns: 1fr;
  }

  .enrol-card {
    position: static;
    grid-row: 1;
  }

  .enrol-card .check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 25px;
  }

  .enrol-card .check-list li {
    margin: 0;
  }

  .enrol-card .button {
    width: auto;
  }

  /* ============================================================

     04 HERO & TOP OF PAGE

     ============================================================ */

  .proof-bar .wrap {
    grid-template-columns: repeat(2,1fr);
  }

  .page-hero-image {
    height: 330px;
  }

  /* ============================================================

     05 BUTTONS & CALLS TO ACTION

     ============================================================ */

  .cta-inner {
    align-items: start;
  }

  /* ============================================================

     07 STUDENT REVIEWS CAROUSEL

     ============================================================ */

  .reviews-track {
    grid-auto-columns: calc((100% - 24px)/2);
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (max-width:767.98px)
   ============================================================ */
@media (max-width:767.98px) {
  /* ============================================================

     01 FOUNDATION & TYPOGRAPHY

     ============================================================ */

  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom,0px));
  }

  /* ============================================================

     02 LAYOUT & SPACING

     ============================================================ */

  .section {
    padding-block: 56px;
  }

  /* ============================================================

     04 HERO & TOP OF PAGE

     ============================================================ */

  .hero-slide {
    min-height: 0;
  }

  .hero-carousel {
    background: #fff;
    color: var(--ink);
  }

  .hero-image {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    z-index: auto;
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    padding-block: 28px 20px;
  }

  .hero-content .eyebrow {
    color: var(--red);
  }

  .hero-content h1, .hero-content h2 {
    color: var(--ink);
    font-size: clamp(1.9rem,7.5vw,3rem);
    line-height: 1.15;
  }

  .hero-content p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.8;
  }

  .hero-content .button {
    flex: 1;
    font-size: .83rem;
  }

  .hero-content .button-outline {
    color: var(--ink);
    border-color: #c5c6ca;
  }

  .slider-controls {
    margin-top: 0;
    padding-bottom: 24px;
  }

  .slider-controls>button {
    color: var(--ink);
    border-color: #d0d2d6;
  }

  .slider-count {
    color: var(--muted);
  }

  .slide-dot.active:after {
    background: var(--red);
  }

  .proof-bar .wrap>*+* {
    border: 0;
    padding-inline-start: 0;
  }

  [dir=rtl] .hero-content h1, [dir=rtl] .hero-content h2 {
    line-height: 1.55;
  }

  /* ============================================================

     07 STUDENT REVIEWS CAROUSEL

     ============================================================ */

  .reviews-track {
    grid-auto-columns: 90%;
    gap: 16px;
  }

  .tiye-review-card {
    padding: 27px;
  }

  /* ============================================================

     08 GALLERY & LIGHTBOX

     ============================================================ */

  .lightbox[open] {
    padding: 65px 16px 100px;
  }

  .lightbox .lightbox-stage img {
    max-height: calc(100dvh - 230px);
  }

  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 52px;
  }

  .lightbox-prev {
    inset-inline-start: calc(50% - 60px);
  }

  .lightbox-next {
    inset-inline-end: calc(50% - 60px);
  }

  /* ============================================================

     11 MOBILE APP NAV & QUICK CONTACT

     ============================================================ */

  .desktop-whatsapp {
    display: none;
  }

  .tiye-app-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom,0px));
    z-index: 9998;
    height: 64px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 3px;
    background: #fffffff4;
    border: 1px solid #e5e5e7;
    border-radius: 20px;
    box-shadow: 0 10px 38px #17171924;
    backdrop-filter: blur(18px);
  }

  .tiye-app-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 14px;
    color: #61636a;
    padding: 3px 1px;
  }

  .tiye-app-tab i {
    font-size: 18px;
  }

  .tiye-app-tab span {
    font-size: .59rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .tiye-app-tab.active {
    color: var(--red);
    background: #be15220b;
  }

  .tiye-app-tab.whatsapp {
    color: #fff;
    background: #25D366;
  }

  /* ============================================================

     10 FOOTER

     ============================================================ */

  .footer {
    padding-bottom: calc(105px + env(safe-area-inset-bottom,0px));
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (max-width:700px)
   ============================================================ */
@media (max-width:700px) {
  /* ============================================================

     02 LAYOUT & SPACING

     ============================================================ */

  .wrap {
    width: calc(100% - 36px);
  }

  .section {
    padding-block: 48px;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .cols-2, .cols-3, .cols-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  [dir=rtl] .section-heading h2 {
    font-size: 1.65rem;
  }

  /* ============================================================

     03 HEADER & PRIMARY NAVIGATION

     ============================================================ */

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 87px;
    height: 55px;
  }

  [dir=rtl] .header-inner nav>a {
    font-size: 1rem;
  }

  /* ============================================================

     04 HERO & TOP OF PAGE

     ============================================================ */

  .hero-carousel {
    background: white;
    color: var(--ink);
  }

  .hero-slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    isolation: auto;
  }

  .hero-image {
    position: static;
    height: auto;
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    z-index: auto;
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    padding-block: 27px 18px;
  }

  .hero-content .eyebrow {
    color: var(--red);
    font-size: .72rem;
  }

  .hero-content h1, .hero-content h2 {
    font-size: clamp(1.95rem,7.4vw,3.2rem);
    line-height: 1.13;
    letter-spacing: -.035em;
    color: var(--ink);
    max-width: 100%;
  }

  .hero-content p {
    font-size: 1rem;
    color: var(--muted);
    margin-block: 16px 22px;
    max-width: 100%;
  }

  .hero-content .actions {
    gap: 10px;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero-content .button {
    flex: 1;
    padding: 12px 14px;
    font-size: .9rem;
  }

  .hero-content .button-outline {
    color: var(--ink);
    border-color: #b9bdc3;
  }

  .hero-content .button-outline:hover {
    background: var(--soft);
  }

  .slider-controls {
    margin-top: 0;
    padding-block: 0 22px;
    gap: 6px;
  }

  .slider-controls>button {
    width: 40px;
    height: 40px;
    color: var(--ink);
    border-color: #d0d3d9;
  }

  .slide-dot:after {
    background: #c1c4ca;
  }

  .slide-dot.active:after {
    background: var(--red);
  }

  .slider-count {
    color: var(--muted);
  }

  .proof-bar .wrap {
    gap: 18px 12px;
    padding-block: 22px;
  }

  .proof-bar .wrap>div {
    font-size: .8rem;
    align-items: flex-start;
  }

  .proof-bar i {
    margin-top: 4px;
  }

  .page-hero {
    padding-block: 28px 36px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
    overflow-wrap: break-word;
  }

  .page-hero .lead {
    font-size: 1rem;
    margin-top: 16px;
  }

  .page-hero-image {
    height: 290px;
    object-position: top;
  }

  [dir=rtl] .hero-content h1, [dir=rtl] .hero-content h2 {
    font-size: clamp(1.85rem,7vw,2.7rem);
    line-height: 1.5;
  }

  [dir=rtl] .hero-content p {
    line-height: 1.95;
  }

  .hero-content .actions>a {
    min-width: 0;
  }

  .program-page-hero .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* ============================================================

     06 PROGRAMS & CONTENT CARDS

     ============================================================ */

  .program-card img {
    height: auto;
    aspect-ratio: 16/9;
  }

  .program-body {
    padding: 22px;
  }

  .program-body h3 {
    font-size: 1.4rem;
  }

  .program-body .text-link {
    padding-top: 0;
    margin-top: 12px;
  }

  .founder-feature {
    grid-template-columns: 1fr;
  }

  .founder-feature>img {
    height: 330px;
    object-position: 50% 22%;
  }

  .founder-feature>div {
    padding: 28px;
  }

  .founder-feature .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-logos {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .partner-logos>div {
    padding: 20px;
  }

  .partner-logos img {
    height: 80px;
  }

  .program-layout {
    padding-block: 28px 44px;
    gap: 30px;
  }

  .enrol-card {
    padding: 22px;
  }

  .enrol-card .check-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .enrol-card .button {
    width: 100%;
  }

  .stat-grid>div {
    padding: 18px 6px;
  }

  .stat-grid strong {
    font-size: 1.75rem;
  }

  .stat-grid span {
    font-size: .76rem;
  }

  .program-main>h2 {
    font-size: 1.55rem;
    margin-top: 32px;
  }

  .curriculum summary {
    display: grid;
    grid-template-columns: 28px minmax(0,1fr) 15px;
    gap: 6px 8px;
  }

  .curriculum summary small {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    white-space: normal;
    font-size: .85rem;
  }

  .curriculum summary i {
    grid-column: 3;
    grid-row: 1/3;
    margin: 0;
  }

  .curriculum p {
    padding-inline-start: 36px;
  }

  .faculty-card img {
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
  }

  .program-cover {
    border-radius: 18px;
  }

  /* ============================================================

     01 FOUNDATION & TYPOGRAPHY

     ============================================================ */

  .card {
    padding: 24px;
  }

  /* ============================================================

     05 BUTTONS & CALLS TO ACTION

     ============================================================ */

  .cta-inner {
    flex-direction: column;
    gap: 22px;
  }

  .cta-inner .button {
    width: 100%;
  }

  .actions {
    margin-top: 20px;
  }

  /* ============================================================

     10 FOOTER

     ============================================================ */

  .footer {
    padding-top: 45px;
    padding-bottom: 78px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .footer-grid>div:first-child, .footer-grid>div:last-child {
    grid-column: 1/-1;
  }

  .footer-bottom {
    font-size: .8rem;
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom>div {
    gap: 10px 20px;
  }

  /* ============================================================

     11 MOBILE APP NAV & QUICK CONTACT

     ============================================================ */

  .desktop-whatsapp {
    display: none;
  }

  /* ============================================================

     06 PAGE CONTENT & COMPONENTS

     ============================================================ */

  .crumb {
    font-size: .75rem;
    margin-bottom: 20px;
  }

  .faqs summary {
    font-size: 1rem;
  }

  .faqs details {
    padding-block: 14px;
  }

  .table-scroll th, .table-scroll td {
    padding: 14px;
    font-size: .91rem;
  }

  .phone-number {
    font-size: 1.6rem;
  }

  .event-placeholder figcaption {
    font-size: .8rem;
  }

  /* ============================================================

     09 FORMS & SEARCH

     ============================================================ */

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inquiry-form button {
    width: 100%;
  }

  .search-row {
    flex-wrap: wrap;
  }

  .search-row input, .search-row button {
    width: 100%;
  }

  /* ============================================================

     08 GALLERY & LIGHTBOX

     ============================================================ */

  .photo-grid {
    columns: 2;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
    border-radius: 8px;
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (max-width:370px)
   ============================================================ */
@media (max-width:370px) {
  /* ============================================================

     02 LAYOUT & SPACING

     ============================================================ */

  .wrap {
    width: calc(100% - 28px);
  }

  /* ============================================================

     04 HERO & TOP OF PAGE

     ============================================================ */

  .hero-content .actions {
    flex-direction: column;
  }

  .hero-content h1, .hero-content h2 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: .96rem;
  }

  .proof-bar .wrap>div {
    font-size: .76rem;
    gap: 7px;
  }

  .slider-count {
    display: none;
  }

  .slider-controls {
    gap: 4px;
  }

  /* ============================================================

     03 HEADER & PRIMARY NAVIGATION

     ============================================================ */

  .header-actions {
    gap: 7px;
  }

  .language-switch {
    padding: 8px;
    font-size: .83rem;
  }

  /* ============================================================

     10 FOOTER

     ============================================================ */

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid>div {
    grid-column: 1;
  }

  /* ============================================================

     06 PROGRAMS & CONTENT CARDS

     ============================================================ */

  .stat-grid strong {
    font-size: 1.45rem;
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (orientation:landscape) and (max-height:500px) and (max-width:1000px)
   ============================================================ */
@media (orientation:landscape) and (max-height:500px) and (max-width:1000px) {
  /* ============================================================

     03 HEADER & PRIMARY NAVIGATION

     ============================================================ */

  .site-header {
    position: relative;
  }

  .header-inner nav {
    max-height: 75dvh;
  }

  /* ============================================================

     10 FOOTER

     ============================================================ */

  .footer {
    padding-bottom: 24px;
  }

  /* ============================================================

     04 HERO & TOP OF PAGE

     ============================================================ */

  .hero-image {
    max-height: 240px;
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: (prefers-reduced-motion:reduce)
   ============================================================ */
@media (prefers-reduced-motion:reduce) {
  /* ============================================================

     01 FOUNDATION & TYPOGRAPHY

     ============================================================ */

  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   RESPONSIVE / BEHAVIOR RULES: print
   ============================================================ */
@media print {
  /* ============================================================

     03 HEADER & PRIMARY NAVIGATION

     ============================================================ */

  .site-header, .footer, .desktop-whatsapp, .button, .slider-controls {
    display: none !important;
  }

  /* ============================================================

     02 LAYOUT & SPACING

     ============================================================ */

  .section {
    padding-block: 20px;
  }

  .wrap {
    width: 100%;
  }

  /* ============================================================

     04 HERO & TOP OF PAGE

     ============================================================ */

  .page-hero {
    background: white;
  }

  .hero-slide {
    background: white;
    color: black;
  }

  .hero-content h1 {
    color: black;
  }

  .hero-image, .hero-shade {
    display: none;
  }

  /* ============================================================

     06 PROGRAMS & CONTENT CARDS

     ============================================================ */

  .program-layout {
    display: block;
  }

  .enrol-card {
    position: static;
  }
}

/* ============================================================
   22 FINAL PAGE RHYTHM & SPACING
   Purpose: give every page more breathing room and a consistent
   premium reading rhythm. This section intentionally contains
   layout-only refinements and does not create negative overlap.
   ============================================================ */

.tiye-spacious-layout .section {
  padding-block: 104px;
}

.tiye-spacious-layout .section > .wrap,
.tiye-spacious-layout .page-hero > .wrap,
.tiye-spacious-layout .program-layout {
  min-width: 0;
}

.tiye-spacious-layout .section-heading {
  margin-bottom: 42px;
}

.tiye-spacious-layout .section-heading h2 {
  max-width: 850px;
}

.tiye-spacious-layout .section-heading + p,
.tiye-spacious-layout .section-heading + .lead {
  max-width: 820px;
}

.tiye-spacious-layout .wrap > p,
.tiye-spacious-layout .program-main > p,
.tiye-spacious-layout .card p,
.tiye-spacious-layout .enrol-card p {
  line-height: 1.9;
}

.tiye-spacious-layout .program-main > p,
.tiye-spacious-layout .program-main > ul,
.tiye-spacious-layout .program-main > .notice,
.tiye-spacious-layout .program-main > .curriculum,
.tiye-spacious-layout .program-main > .optional-module {
  margin-bottom: 30px;
}

.tiye-spacious-layout .program-main > h2 {
  margin-top: 64px;
  margin-bottom: 26px;
}

.tiye-spacious-layout .program-layout {
  gap: 72px;
  padding-block: 78px 104px;
}

.tiye-spacious-layout .actions {
  gap: 18px;
  margin-top: 34px;
}

.tiye-spacious-layout .button {
  padding: 15px 26px;
  min-height: 52px;
}

.tiye-spacious-layout .card,
.tiye-spacious-layout .program-body,
.tiye-spacious-layout .enrol-card {
  padding: 32px;
}

.tiye-spacious-layout .grid-2,
.tiye-spacious-layout .grid-3,
.tiye-spacious-layout .grid-4,
.tiye-spacious-layout .program-grid,
.tiye-spacious-layout .faculty-grid {
  row-gap: 34px;
}

.tiye-spacious-layout .page-hero {
  padding-block: 76px 84px;
}

.tiye-spacious-layout .page-hero .lead {
  margin-top: 22px;
  line-height: 1.9;
}

.tiye-spacious-layout .faq-editorial,
.tiye-spacious-layout .faqs,
.tiye-spacious-layout .curriculum {
  margin-top: 8px;
}

.tiye-spacious-layout .faqs details,
.tiye-spacious-layout .curriculum details {
  padding-block: 8px;
}

/* ============================================================
   23 RED PROGRAM-FINDER CTA
   Purpose: make “Find the program that fits your next step.” a
   strong red visual break before the footer on every page.
   ============================================================ */

.cta-section {
  background: var(--red);
  color: white;
  border-top: 0;
}

.cta-section .section-heading {
  margin-bottom: 30px;
}

.cta-section .section-heading h2,
.cta-section .eyebrow,
.cta-section p {
  color: white;
}

.cta-section .button {
  background: white;
  color: var(--red);
  border-color: white;
  box-shadow: none;
}

.cta-section .button:hover {
  background: #f7f7f8;
  color: var(--red-dark);
  border-color: #f7f7f8;
}

/* ============================================================
   24 DARK LUXURY FOOTER + WHITE LOGO
   Purpose: restore the premium dark footer and use a dedicated
   transparent white Tiye Academy logo with no card, box or sticker.
   Replace assets/images/logo-footer-white.png with the final white
   logo artwork when available. Keep the same filename.
   ============================================================ */

.footer {
  background: #101113;
  color: #ffffff;
  border-top: 0;
  padding-top: 76px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: 146px;
  margin-bottom: 26px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-logo img {
  display: block;
  width: 146px;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer p,
.footer address {
  color: #b8bbc2;
}

.footer h2 {
  color: #ffffff;
}

.footer-grid > div > a,
.footer-bottom,
.footer-bottom a {
  color: #c9cbd0;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.social-links a {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
}

.social-links a:hover {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

/* ============================================================
   24.5 PREMIUM PROFILE + PROGRAM + GALLERY POLISH
   Purpose: editorial portrait treatment, calmer cards, stronger
   hierarchy and a more premium visual rhythm across key pages.
   ============================================================ */

.profile-hero {
  background: linear-gradient(135deg, #f7f4f1 0%, #ffffff 58%, #f4f4f4 100%);
  overflow: hidden;
}
.profile-hero > .wrap.split {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(54px, 7vw, 110px);
  align-items: center;
  min-height: 610px;
}
.profile-hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 6vw, 6.1rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.profile-hero .lead {
  max-width: 720px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.8;
}
.profile-hero .page-hero-image {
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  height: auto;
  justify-self: end;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 2px;
  box-shadow: 0 30px 70px rgba(16,17,19,.14);
}
.founder-hero .page-hero-image {
  object-position: 50% 22%;
  background: #ece8e4;
}
.founder-profile-page main > .section:not(.cta-section),
.instructor-profile-page main > .section:not(.cta-section) {
  border-top: 1px solid rgba(16,17,19,.07);
}
.founder-profile-page .grid.cols-3 .card {
  background: transparent;
  border: 0;
  border-top: 2px solid #d71920;
  border-radius: 0;
  box-shadow: none;
  padding: 30px 0 12px;
}
.founder-profile-page .grid.cols-3 .card h3 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  letter-spacing: -.045em;
}
.instructor-profile-page main > .section:not(.cta-section) > .wrap,
.founder-profile-page main > .section:not(.cta-section) > .wrap {
  max-width: 1040px;
}
.instructor-profile-page main > .section p,
.founder-profile-page main > .section p,
.founder-profile-page .check-list {
  font-size: 1.06rem;
  line-height: 1.9;
}

.premium-program-page .program-page-hero {
  background: linear-gradient(140deg, #101113 0%, #191a1d 100%);
  color: #fff;
}
.premium-program-page .program-page-hero h1,
.premium-program-page .program-page-hero .lead,
.premium-program-page .program-page-hero .eyebrow,
.premium-program-page .program-page-hero .crumb,
.premium-program-page .program-page-hero .crumb a { color: #fff; }
.premium-program-page .program-layout { gap: clamp(52px, 7vw, 96px); }
.premium-program-page .program-main > h2 {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  letter-spacing: -.04em;
  padding-top: 18px;
  border-top: 1px solid rgba(16,17,19,.12);
}
.premium-program-page .program-body,
.premium-program-page .enrol-card,
.premium-program-page .card {
  border-radius: 4px;
  box-shadow: none;
  border-color: rgba(16,17,19,.09);
}
.premium-program-page .enrol-card {
  position: sticky;
  top: 108px;
}

.premium-gallery-page .gallery-grid {
  align-items: start;
  gap: 18px;
}
.premium-gallery-page .gallery-grid > * {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: none;
}
.premium-gallery-page .gallery-grid img {
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.premium-gallery-page .gallery-grid a:hover img {
  transform: scale(1.025);
  filter: contrast(1.03);
}

@media (max-width: 1000px) {
  .profile-hero > .wrap.split {
    grid-template-columns: 1fr minmax(280px, .7fr);
    gap: 42px;
    min-height: 520px;
  }
}
@media (max-width: 700px) {
  .profile-hero > .wrap.split {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    min-height: 0;
    gap: 34px;
  }
  .profile-hero .page-hero-image {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 5;
    justify-self: auto;
  }
  .profile-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.25rem);
  }
  .premium-program-page .enrol-card { position: static; }
}

/* ============================================================
   25 RESPONSIVE SPACING
   Purpose: keep the roomy desktop layout without making mobile
   pages feel excessively long or causing horizontal overlap.
   ============================================================ */

@media (max-width: 1000px) {
  .tiye-spacious-layout .section {
    padding-block: 78px;
  }

  .tiye-spacious-layout .program-layout {
    gap: 46px;
    padding-block: 62px 82px;
  }

  .footer {
    padding-top: 64px;
  }
}

@media (max-width: 700px) {
  .tiye-spacious-layout .section {
    padding-block: 64px;
  }

  .tiye-spacious-layout .section-heading {
    margin-bottom: 30px;
  }

  .tiye-spacious-layout .page-hero {
    padding-block: 42px 52px;
  }

  .tiye-spacious-layout .program-layout {
    padding-block: 48px 72px;
  }

  .tiye-spacious-layout .program-main > h2 {
    margin-top: 50px;
    margin-bottom: 22px;
  }

  .tiye-spacious-layout .actions {
    gap: 14px;
    margin-top: 28px;
  }

  .tiye-spacious-layout .button {
    padding: 14px 18px;
  }

  .tiye-spacious-layout .card,
  .tiye-spacious-layout .program-body,
  .tiye-spacious-layout .enrol-card {
    padding: 25px;
  }

  .cta-section .cta-inner {
    gap: 28px;
  }

  .footer {
    padding-top: 54px;
  }

  .footer-logo {
    width: 132px;
    margin-bottom: 22px;
  }

  .footer-logo img {
    width: 132px;
  }
}


/* ============================================================
   18 FOUNDER REFINEMENT & NAVIGATION USABILITY
   ============================================================ */
@media (min-width: 1001px) {
  .nav-dropdown { padding-bottom: 10px; margin-bottom: -10px; }
  .nav-submenu { top: calc(100% - 1px); }
}
.founder-hero h1 { font-size: clamp(2.65rem, 5vw, 4.9rem); line-height: .98; }
.founder-hero .lead { max-width: 650px; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.75; }
.founder-summary-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:clamp(40px,7vw,96px); align-items:start; }
.founder-intro h2, .founder-details h2, .founder-selected h2 { font-size:clamp(1.75rem,3vw,2.7rem); max-width:760px; }
.founder-intro p { max-width:760px; font-size:1.02rem; line-height:1.85; }
.founder-facts { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--line); }
.founder-facts div { padding:24px 16px 22px 0; border-bottom:1px solid var(--line); }
[dir=rtl] .founder-facts div { padding:24px 0 22px 16px; }
.founder-facts strong { display:block; font-size:clamp(1.45rem,2.4vw,2.15rem); line-height:1; margin-bottom:8px; }
.founder-facts span { font-size:.82rem; color:var(--muted); }
.founder-detail-grid article { padding:0 0 8px; background:transparent; border:0; box-shadow:none; }
.founder-detail-grid h3 { font-size:1.15rem; margin-bottom:10px; }
.founder-detail-grid p { line-height:1.8; max-width:650px; }
.founder-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.founder-tags span { border:1px solid var(--line); border-radius:999px; padding:10px 15px; font-size:.82rem; background:#fff; }
.video-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:start; }
.video-gallery video, .video-gallery .video-frame { width:100%; aspect-ratio:16/9; border-radius:16px; overflow:hidden; background:#111; margin:0; }
.video-gallery video { object-fit:cover; }
@media (max-width: 900px) {
  .founder-summary-grid { grid-template-columns:1fr; gap:34px; }
  .video-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .founder-hero h1 { font-size:2.45rem; }
  .founder-facts { grid-template-columns:1fr 1fr; }
  .video-gallery { grid-template-columns:1fr; gap:16px; }
}

/* Instructor grid alignment */
.faculty-card{display:flex;flex-direction:column;height:100%}
.faculty-card>a:first-child{display:block;aspect-ratio:4/4.65;overflow:hidden;background:#f4f4f4}
.faculty-card>a:first-child img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top;display:block}
.faculty-card>div{display:flex;flex:1;flex-direction:column}
.faculty-card>div>.eyebrow{min-height:2.2em}
.faculty-card h2{min-height:2.6em;margin-bottom:0}
.faculty-card h2+p{min-height:6.6em}
.faculty-card .text-link{margin-top:auto}
.founder-statline.founder-statline-four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.founder-statline.founder-statline-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.faculty-card>a:first-child{aspect-ratio:1/1}.faculty-card>div>.eyebrow,.faculty-card h2,.faculty-card h2+p{min-height:0}.founder-statline.founder-statline-four{grid-template-columns:1fr}}

/* === Tiye Academy Global Premium Motion System === */

/* Founder credentials: 4 across, then 2 x 2 */
.founder-statline.founder-statline-four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px}
.founder-statline.founder-statline-four>div{
  min-height:165px;padding:25px 21px;border-radius:18px;background:#fff;
  border:1px solid rgba(17,17,17,.09);box-shadow:0 10px 28px rgba(0,0,0,.03);
  display:flex;flex-direction:column;justify-content:flex-start;
}
.founder-statline.founder-statline-four strong{margin-bottom:12px;line-height:1.08}
@media(max-width:980px){.founder-statline.founder-statline-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){
 .founder-statline.founder-statline-four{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
 .founder-statline.founder-statline-four>div{min-height:145px;padding:17px 13px;border-radius:14px}
 .founder-statline.founder-statline-four strong{font-size:1.18rem}
 .founder-statline.founder-statline-four span{font-size:.84rem;line-height:1.5}
}

/* Cinematic hero: quiet fade + subtle zoom */
.hero-carousel .hero-slide{transition:opacity 1s ease,visibility 1s ease!important}
.hero-carousel .hero-slide .hero-media{overflow:hidden}
.hero-carousel .hero-slide .hero-media img{
 transform:scale(1.015)!important;
 transition:transform 6.8s cubic-bezier(.2,.65,.25,1)!important;
}
.hero-carousel .hero-slide.is-active .hero-media img{transform:scale(1.045)!important}

/* Global scroll reveal */
[data-tiye-reveal]{
 opacity:0;transform:translateY(15px);
 transition:opacity .65s ease,transform .78s cubic-bezier(.22,.61,.36,1);
 transition-delay:var(--tiye-delay,0ms);
}
[data-tiye-reveal].tiye-visible{opacity:1;transform:translateY(0)}

/* Images enter softly and feel alive on hover */
[data-tiye-image-reveal]{opacity:0;transform:scale(1.018);transition:opacity .75s ease,transform .9s cubic-bezier(.22,.61,.36,1)}
[data-tiye-image-reveal].tiye-visible{opacity:1;transform:scale(1)}
.card img,.faculty-card img,.program-card img,.feature-card img,.gallery-card img,.image-card img{
 transition:transform .55s cubic-bezier(.2,.65,.25,1);
}

/* Cards/tasks: tiny lift only */
.card,.faculty-card,.program-card,.feature-card,.gallery-card,.image-card,.task-card{
 transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.button,.text-link,.icon-link{transition:transform .22s ease,opacity .22s ease}

/* Section CTA has its own gentle entrance */
.cta-section [data-tiye-reveal],.final-cta [data-tiye-reveal]{transform:translateY(10px)}

/* Desktop micro interactions only */
@media(hover:hover){
 .card:hover,.faculty-card:hover,.program-card:hover,.feature-card:hover,.gallery-card:hover,.image-card:hover,.task-card:hover{
  transform:translateY(-3px);box-shadow:0 15px 36px rgba(0,0,0,.055)
 }
 .card:hover img,.faculty-card:hover img,.program-card:hover img,.feature-card:hover img,.gallery-card:hover img,.image-card:hover img{
  transform:scale(1.025)
 }
 .button:hover{transform:translateY(-2px)}
 .icon-link:hover{transform:translateY(-1px)}
}

/* Mobile: quieter motion */
@media(max-width:700px){
 [data-tiye-reveal]{transform:translateY(9px);transition-duration:.55s}
 [data-tiye-image-reveal]{transform:scale(1.01);transition-duration:.65s}
}

/* Accessibility */
@media(prefers-reduced-motion:reduce){
 [data-tiye-reveal],[data-tiye-image-reveal]{opacity:1!important;transform:none!important;transition:none!important}
 .hero-carousel .hero-slide,.hero-carousel .hero-slide .hero-media img,
 .card,.faculty-card,.program-card,.feature-card,.gallery-card,.image-card,.task-card,
 .card img,.faculty-card img,.program-card img,.feature-card img,.gallery-card img,.image-card img,
 .button,.text-link,.icon-link{transition:none!important;transform:none!important}
}

/* === Tiye Motion v3: faster, youthful, premium === */

/* Founder stats: prevent DBA or long labels escaping */
.founder-statline.founder-statline-four{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.founder-statline.founder-statline-four>div{
  min-width:0!important;
  width:auto!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  min-height:172px!important;
  padding:23px 18px!important;
}
.founder-statline.founder-statline-four strong{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  font-size:clamp(1.18rem,1.75vw,1.72rem)!important;
  line-height:1.08!important;
  letter-spacing:-.02em!important;
}
.founder-statline.founder-statline-four span{
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  font-size:clamp(.88rem,1vw,.98rem)!important;
  line-height:1.55!important;
}
@media(max-width:1050px){
 .founder-statline.founder-statline-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .founder-statline.founder-statline-four>div{min-height:150px!important}
}
@media(max-width:520px){
 .founder-statline.founder-statline-four{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .founder-statline.founder-statline-four>div{min-height:142px!important;padding:16px 12px!important}
 .founder-statline.founder-statline-four strong{font-size:1.05rem!important}
 .founder-statline.founder-statline-four span{font-size:.78rem!important;line-height:1.45!important}
}

/* Hero: quick, clean and energetic, no long cinematic zoom */
.hero-carousel .hero-slide{
  transition:opacity .48s ease,visibility .48s ease!important;
}
.hero-carousel .hero-slide .hero-media img{
  transform:scale(1.01)!important;
  transition:transform 4s ease-out!important;
}
.hero-carousel .hero-slide.is-active .hero-media img{
  transform:scale(1.028)!important;
}
.hero-carousel .hero-slide .hero-copy>*{
  opacity:0!important;
  transform:translateY(10px)!important;
  transition:opacity .42s ease,transform .5s cubic-bezier(.22,.61,.36,1)!important;
}
.hero-carousel .hero-slide.is-active .hero-copy>*{
  opacity:1!important;
  transform:translateY(0)!important;
}
.hero-carousel .hero-slide.is-active .hero-copy>*:nth-child(2){transition-delay:.04s!important}
.hero-carousel .hero-slide.is-active .hero-copy>*:nth-child(3){transition-delay:.08s!important}
.hero-carousel .hero-slide.is-active .hero-copy>*:nth-child(4){transition-delay:.12s!important}

/* Faster scroll rhythm for a younger audience */
[data-tiye-reveal]{
  transform:translateY(10px)!important;
  transition:opacity .42s ease,transform .5s cubic-bezier(.22,.61,.36,1)!important;
  transition-delay:var(--tiye-delay,0ms)!important;
}
[data-tiye-reveal].tiye-visible{transform:translateY(0)!important}
[data-tiye-image-reveal]{
  transform:scale(1.012)!important;
  transition:opacity .5s ease,transform .58s ease!important;
}
[data-tiye-image-reveal].tiye-visible{transform:scale(1)!important}

/* More responsive micro-interactions without looking game-like */
@media(hover:hover){
 .card:hover,.faculty-card:hover,.program-card:hover,.feature-card:hover,.gallery-card:hover,.image-card:hover,.task-card:hover{
  transform:translateY(-5px)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.065)!important;
 }
 .card:hover img,.faculty-card:hover img,.program-card:hover img,.feature-card:hover img,.gallery-card:hover img,.image-card:hover img{
  transform:scale(1.035)!important;
 }
 .button:hover{transform:translateY(-2px) scale(1.01)!important}
}

/* Buttons feel immediate */
.button{transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease!important}

/* Mobile keeps pace, not sluggish */
@media(max-width:700px){
 [data-tiye-reveal]{transform:translateY(7px)!important;transition-duration:.38s!important}
 [data-tiye-image-reveal]{transition-duration:.42s!important}
}

/* v4 */
.founder-statline.founder-statline-four{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.founder-statline.founder-statline-four>div:nth-child(4){grid-column:1/-1!important;min-height:118px!important;align-items:center!important;text-align:center!important;justify-content:center!important}
.founder-statline.founder-statline-four>div:nth-child(4) strong{white-space:nowrap!important;overflow-wrap:normal!important;word-break:keep-all!important;font-size:clamp(1.25rem,1.8vw,1.75rem)!important}
.founder-statline.founder-statline-four>div:nth-child(4) span{max-width:720px!important}
@media(max-width:760px){.founder-statline.founder-statline-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}.founder-statline.founder-statline-four>div:nth-child(3),.founder-statline.founder-statline-four>div:nth-child(4){grid-column:1/-1!important}}
.hero-carousel .hero-slide .hero-media img{transform:scale(1)!important;transition:transform 4s cubic-bezier(.18,.7,.25,1)!important}
.hero-carousel .hero-slide.is-active .hero-media img{transform:scale(1.065)!important}
.contact-map{width:100%;margin-top:28px;border-radius:22px;overflow:hidden;border:1px solid rgba(17,17,17,.09);box-shadow:0 14px 34px rgba(0,0,0,.05);background:#f5f5f5}
.contact-map iframe{display:block;width:100%;height:390px;border:0}
@media(max-width:700px){.contact-map{border-radius:16px}.contact-map iframe{height:320px}}
