/* ============================================================
   wAcademy — Time Academy tipi eğitim danışmanlığı teması
   Tüm görsel kimlik buradadır. Lacivert + altın + krem.
   ============================================================ */

:root {
  /* Palette (theme.json colors[] ile birebir) */
  --c-primary: #0F2B4C;
  --c-primary-2: #0B2138;       /* daha koyu lacivert (footer/band) */
  --c-accent: #C8A24C;
  --c-accent-2: #B68C36;        /* hover altın */
  --c-bg: #FBF9F4;
  --c-surface: #FFFFFF;
  --c-surface-2: #F6F2EA;       /* hafif krem yüzey */
  --c-text: #14233B;
  --c-muted: #6B7689;
  --c-border: #ECE6DA;
  --c-border-dark: rgba(255,255,255,.14);

  /* Fonts */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Type scale */
  --fs-eyebrow: .75rem;
  --fs-h1: clamp(2.5rem, 5vw, 3.5rem);
  --fs-h2: clamp(2rem, 3.6vw, 2.75rem);
  --fs-h3: 1.375rem;
  --fs-body: 1rem;
  --fs-small: .875rem;

  /* Spacing & layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(40px, 4.5vw, 64px);

  /* Radius & shadow */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16,33,56,.05);
  --shadow: 0 8px 28px rgba(16,33,56,.07);
  --shadow-lg: 0 18px 50px rgba(16,33,56,.12);

  --tr: .25s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-primary); line-height: 1.15; margin: 0 0 .4em; font-weight: 700; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--cream { background: var(--c-bg); }
.section--surface { background: var(--c-surface); }
.section--navy { background: var(--c-primary); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

/* Section heading (centered eyebrow + serif H2) */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 4vw, 56px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--c-muted); margin-top: 14px; font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow--light { color: var(--c-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  letter-spacing: .03em;
  padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr);
  white-space: nowrap;
}
.btn .ic { width: 1em; height: 1em; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-accent); color: var(--c-primary); }
.btn--primary:hover { background: var(--c-accent-2); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline-dark { background: transparent; color: var(--c-primary); border-color: var(--c-border); }
.btn--outline-dark:hover { background: var(--c-surface-2); border-color: var(--c-primary); }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--c-primary);
  transition: gap var(--tr), color var(--tr);
}
.link-arrow:hover { gap: 13px; color: var(--c-accent-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--c-primary);
  transition: background var(--tr), box-shadow var(--tr);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand__logo { height: 46px; width: auto; flex: none; }
.brand__mark {
  width: 38px; height: 44px; display: grid; place-items: center;
  border: 1.5px solid var(--c-accent); border-radius: 4px 4px 8px 8px; color: var(--c-accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .12em; line-height: 1; color: #fff; }
.brand__name small { display: block; font-size: .58rem; letter-spacing: .42em; font-weight: 600; font-family: var(--font-body); color: rgba(255,255,255,.7); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: center; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 12px; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85);
  border-bottom: 2px solid transparent; transition: color var(--tr), border-color var(--tr);
}
.nav__link:hover, .nav__item--active > .nav__link { color: #fff; }
.nav__item--active > .nav__link { border-bottom-color: var(--c-accent); }
.nav__caret { width: 9px; height: 9px; opacity: .8; transition: transform var(--tr); }
.nav__item--has-children:hover .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--tr); z-index: 50;
}
.nav__item--has-children:hover .nav__sub,
.nav__item--has-children:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 9px 14px; font-size: .9rem; color: var(--c-text); border-radius: var(--radius-sm); transition: background var(--tr), color var(--tr); }
.nav__sub a:hover { background: var(--c-surface-2); color: var(--c-primary); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.6); padding: 4px 6px; border-radius: 4px; }
.lang-switch a.is-current { color: var(--c-accent); }
.lang-switch a:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--tr), opacity var(--tr); }

/* Sticky scrolled / transparent-on-home */
.site-header.is-transparent { background: transparent; position: absolute; left: 0; right: 0; }
.site-header.is-stuck { background: var(--c-primary); box-shadow: 0 6px 24px rgba(0,0,0,.18); position: sticky; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--c-primary); color: #fff; overflow: hidden; }
.hero__slide { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.hero__media { position: absolute; inset: 0 0 0 42%; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* YouTube arka plan: iframe'i kutuyu kaplayacak şekilde büyüt (16:9 letterbox'ı taşır, .hero overflow:hidden kırpar) */
.hero__media--yt { overflow: hidden; }
.hero__yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__yt {
    position: absolute; top: 50%; left: 50%;
    width: 100%; height: 100%;
    transform: translate(-50%, -50%) scale(1.6);
    border: 0; pointer-events: none; z-index: 1;
}
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--c-primary) 6%, rgba(15,43,76,.78) 32%, rgba(15,43,76,.18) 70%); }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; padding-block: clamp(72px, 9vw, 120px); justify-content: space-around; }
.hero__content { max-width: 560px; }
.hero__title { font-size: var(--fs-h1); color: #fff; margin: 20px 0 24px; line-height: 1.2; }
.hero__subtitle { font-size: 1.125rem; color: rgba(255,255,255,.82); max-width: 460px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__rating { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero__stars { display: inline-flex; gap: 2px; }
.hero__stars .s { width: 22px; height: 22px; background: #00B67A; display: inline-grid; place-items: center; border-radius: 2px; }
.hero__stars .s svg { width: 15px; height: 15px; fill: #fff; }
.hero__trust { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.hero__trust svg { width: 18px; height: 18px; fill: #00B67A; }

.hero__proof {
  position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); bottom: 64px; z-index: 3;
  max-width: 290px; background: rgba(11,33,56,.82); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.16); border-bottom: 3px solid var(--c-accent);
  padding: 22px 24px; color: #fff;
}
.hero__proof-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hero__proof .mk { width: 34px; height: 38px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--c-accent); border-radius: 3px 3px 7px 7px; color: var(--c-accent); }
.hero__proof .mk svg { width: 18px; height: 18px; }
.hero__proof strong { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; display: block; }
.hero__proof-eyebrow { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent); }
.hero__proof p { font-size: .85rem; color: rgba(255,255,255,.78); margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }

.hero__dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 9px; z-index: 4; }
.hero__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); padding: 0; }
.hero__dots button.is-active { background: var(--c-accent); width: 26px; border-radius: 5px; }
.hero__arrow { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.2); color: #fff; display: none; place-items: center; }
.hero__arrow--prev { left: 18px; } .hero__arrow--next { right: 18px; }

/* ---------- Stats counter ---------- */
.stats { background: var(--c-surface); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 18px; padding: 14px 28px; justify-content: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: var(--c-border); }
.stat__icon { width: 52px; height: 52px; flex: none; color: var(--c-accent); display: grid; place-items: center; }
.stat__icon svg, .stat__icon i { width: 44px; height: 44px; font-size: 2rem; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--c-primary); line-height: 1; }
.stat__label { font-size: .9rem; color: var(--c-muted); margin-top: 4px; }

/* ---------- Service grid ---------- */
.services__grid { display: grid; gap: 22px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.service-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-accent); }
.icon-chip { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,162,76,.14); color: var(--c-accent); margin-bottom: 20px; }
.icon-chip svg, .icon-chip i { width: 24px; height: 24px; font-size: 1.4rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--c-muted); font-size: .92rem; margin-bottom: 20px; }
.service-card .link-arrow { margin-top: auto; }

/* ---------- Marquee (partner logos) ---------- */
.marquee { background: var(--c-primary); color: #fff; padding-block: 30px; overflow: hidden; }
.marquee__title { text-align: center; margin-bottom: 26px; }
.marquee__viewport { overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); }
.marquee__track.is-animated { width: max-content; animation: wm-scroll linear infinite; }
.marquee:hover .marquee__track.pause { animation-play-state: paused; }
/* Her logo SABİT bir kutuya oturur → eşit aralık + yan yana hizalı.
   Logo (her çözünürlük/oran: 16:9 ya da dikey) kutuya object-fit:contain ile sığar; ASLA taşmaz, oran korunur. */
.marquee__item {
    flex: none;
    display: flex; align-items: center; justify-content: center;
    width: 180px; height: 64px;
    opacity: .85; transition: opacity var(--tr);
}
.marquee__item:hover { opacity: 1; }
.marquee__item img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain; display: block;
}
.marquee__item span { font-family: var(--font-display); font-size: 1.1rem; color: #fff; white-space: nowrap; }
.marquee--static .marquee__track { justify-content: center; flex-wrap: wrap; gap: 28px clamp(40px, 6vw, 88px); width: 100%; }
@media (max-width: 600px) { .marquee__item { width: 132px; height: 52px; } }
@keyframes wm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.testimonial {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.testimonial__quote { font-size: .98rem; color: var(--c-text); margin-bottom: 22px; }
.testimonial__mark { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--c-accent); opacity: .25; }
.testimonial__who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--c-border); }
.testimonial__avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.testimonial__name { font-family: var(--font-display); font-weight: 700; color: var(--c-primary); }
.testimonial__meta { font-size: .82rem; color: var(--c-muted); }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 34px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--c-border); padding: 0; transition: background var(--tr), width var(--tr); }
.carousel-dots button.is-active { background: var(--c-accent); width: 26px; border-radius: 5px; }

/* ---------- Feature content ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature__body h2 { margin-top: 12px; }
.feature__body .feature__rich { color: var(--c-muted); margin-bottom: 26px; }
.feature__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Call to action band ---------- */
.cta-band { position: relative; background: var(--c-primary); color: #fff; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; opacity: .22; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; padding-block: clamp(40px, 5vw, 64px); }
.cta-band__lead { display: flex; align-items: center; gap: 24px; }
.cta-band__icon { width: 78px; height: 78px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; }
.cta-band__icon svg { width: 32px; height: 32px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 460px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); margin-bottom: 14px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--c-primary); }
.faq__q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(200,162,76,.14); color: var(--c-accent); display: grid; place-items: center; transition: transform var(--tr); font-size: 1.2rem; }
.faq__item.is-open .faq__q .pm { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 24px 22px; color: var(--c-muted); }

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan--highlight { border-color: var(--c-accent); box-shadow: var(--shadow); position: relative; }
.plan--highlight::before { content: "Önerilen"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c-accent); color: var(--c-primary); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; }
.plan__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--c-primary); }
.plan__price { font-family: var(--font-display); font-size: 2.6rem; color: var(--c-primary); margin: 14px 0 4px; }
.plan__period { color: var(--c-muted); font-size: .9rem; }
.plan__features { list-style: none; padding: 22px 0; margin: 22px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 12px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.plan__features li::before { content: "✓"; color: var(--c-accent); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* ---------- Content / project grid & cards ---------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.entry-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--tr), box-shadow var(--tr); display: flex; flex-direction: column; }
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.entry-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.entry-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.entry-card:hover .entry-card__media img { transform: scale(1.05); }
.entry-card__body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.entry-card__cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; margin-bottom: 8px; }
.entry-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.entry-card p { color: var(--c-muted); font-size: .9rem; margin-bottom: 18px; }
.entry-card .link-arrow { margin-top: auto; }
.entry-card__date { font-size: .8rem; color: var(--c-muted); margin-top: 10px; }

/* ---------- Filters / categories / search ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--c-border); background: var(--c-surface); font-size: .85rem; color: var(--c-text); transition: all var(--tr); }
.chip:hover { border-color: var(--c-accent); }
.chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.search-field { display: flex; align-items: center; gap: 8px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); padding: 8px 14px; }
.search-field input { border: 0; outline: 0; font-family: inherit; font-size: .9rem; background: transparent; min-width: 180px; }
.search-field button { border: 0; background: none; color: var(--c-accent); display: grid; place-items: center; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--c-border); border-radius: var(--radius); font-size: .9rem; font-weight: 600; background: var(--c-surface); }
.pagination a:hover { border-color: var(--c-accent); }
.pagination .is-current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.gallery__item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 12px 14px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(11,33,56,.8)); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,18,32,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; }

/* ---------- Topic links ---------- */
.topics__grid { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.topic-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); font-weight: 600; transition: all var(--tr); }
.topic-link:hover { border-color: var(--c-accent); color: var(--c-primary); transform: translateY(-2px); }
.topic-link svg { width: 16px; height: 16px; color: var(--c-accent); }

/* ---------- Video ---------- */
.video-embed { position: relative; max-width: 960px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-embed__poster { position: absolute; inset: 0; cursor: pointer; }
.video-embed__poster img { width: 100%; height: 100%; object-fit: cover; }
.video-embed__play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; background: var(--c-accent); color: var(--c-primary); border: 0; display: grid; place-items: center; }
.video-embed__play svg { width: 30px; height: 30px; }

/* ---------- Map ---------- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; border: 0; display: block; }
.map-placeholder { display: grid; place-items: center; background: var(--c-surface-2); color: var(--c-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-info__list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 20px; }
.contact-info__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__ic { width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(200,162,76,.14); color: var(--c-accent); display: grid; place-items: center; }
.contact-info__ic svg { width: 20px; height: 20px; }
.contact-info__list b { display: block; font-family: var(--font-display); color: var(--c-primary); }
.contact-info__list span { color: var(--c-muted); font-size: .92rem; }

/* ---------- Forms ---------- */
.form { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--c-text); }
.field .req { color: var(--c-accent); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--c-text);
  padding: 13px 15px; border: 1px solid var(--c-border); border-radius: var(--radius);
  background: var(--c-bg); transition: border-color var(--tr), box-shadow var(--tr);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(200,162,76,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.field__help { font-size: .78rem; color: var(--c-muted); }
.form__msg { padding: 14px 18px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 18px; }
.form__msg--success { background: rgba(0,182,122,.12); color: #047857; border: 1px solid rgba(0,182,122,.3); }

/* ---------- Text block ---------- */
.rich-text { max-width: 820px; }
.rich-text.is-center { margin-inline: auto; text-align: center; }
.rich-text h2, .rich-text h3 { margin-top: 1.4em; }
.rich-text img { border-radius: var(--radius); margin: 1.2em 0; }
.rich-text a { color: var(--c-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.rich-text blockquote { border-left: 3px solid var(--c-accent); padding-left: 20px; margin: 1.4em 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--c-primary); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--c-surface-2); border-bottom: 1px solid var(--c-border); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 14px 0; margin: 0; font-size: .85rem; color: var(--c-muted); }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--c-border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--c-accent-2); }
.breadcrumb li[aria-current] { color: var(--c-primary); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary-2); color: rgba(255,255,255,.72); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.site-footer .brand__name, .site-footer .brand__name small { color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 18px; }
.footer-about { font-size: .9rem; margin: 18px 0 22px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-border-dark); display: grid; place-items: center; color: #fff; transition: background var(--tr), border-color var(--tr); }
.footer-social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: .9rem; transition: color var(--tr); }
.footer-col ul a:hover { color: var(--c-accent); }
.footer-contact li { display: flex; gap: 11px; font-size: .9rem; margin-bottom: 13px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--c-accent); flex: none; margin-top: 3px; }
.site-footer__bottom { border-top: 1px solid var(--c-border-dark); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: .82rem; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a:hover { color: #fff; }

/* Required credit chips — SABİT marka atfı, standart stil (tema renklerine göre DEĞİŞTİRİLMEZ) */
.footer-credits { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; opacity: .6; }
.footer-credits:hover { opacity: 1; }
.fc-label { color: inherit; }
.fc-sep { opacity: .4; }
.fc-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px;
  border: 1px solid currentColor; border-radius: 4px; text-decoration: none;
  color: inherit; font-size: 11px; letter-spacing: .04em; transition: opacity .2s; }
.fc-badge:hover { opacity: .8; }
.fc-icon { display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; background: #0057FF; color: #fff;
  font-weight: 700; font-size: 10px; border-radius: 3px; line-height: 1; }

/* ---------- Cookie consent ---------- */
.theme-cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 820px; z-index: 9990; transition: opacity .26s ease; }
.theme-cookie__inner { background: var(--c-surface); border: 1px solid var(--c-border); border-top: 3px solid var(--c-accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px 26px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.theme-cookie__copy { flex: 1; min-width: 260px; }
.theme-cookie__copy strong { font-family: var(--font-display); color: var(--c-primary); display: block; margin-bottom: 4px; }
.theme-cookie__copy p { font-size: .88rem; color: var(--c-muted); margin: 0; }
.theme-cookie__links { display: flex; gap: 10px; margin-top: 8px; font-size: .82rem; }
.theme-cookie__links a { color: var(--c-accent-2); text-decoration: underline; }
.theme-cookie__actions { display: flex; gap: 12px; }
.theme-cookie__btn { padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: .88rem; border: 1px solid transparent; }
.theme-cookie__btn--accept { background: var(--c-accent); color: var(--c-primary); }
.theme-cookie__btn--accept:hover { background: var(--c-accent-2); }
.theme-cookie__btn--reject { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.theme-cookie__btn--reject:hover { background: var(--c-surface-2); }

/* ---------- Error pages ---------- */
.error-page { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-y); }
.error-page__code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); color: var(--c-accent); line-height: 1; }
.error-page h1 { margin: 8px 0 14px; }
.error-page p { color: var(--c-muted); max-width: 480px; margin-inline: auto; margin-bottom: 28px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-gap { margin-top: 40px; }
.center-cta { text-align: center; margin-top: 44px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .stat:nth-child(3)::before { display: none; }
  .services__grid { --cols: 3; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav, .header-actions .lang-switch, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header__inner { justify-content: space-between; }

  /* Mobile nav drawer */
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--c-primary);
    padding: 12px 16px 20px; box-shadow: var(--shadow-lg); margin: 0;
  }
  .nav.is-open .nav__link { padding: 14px 6px; border-bottom: 1px solid var(--c-border-dark); }
  .nav.is-open .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.04); border: 0; padding: 0 0 8px 14px; }
  .nav.is-open .nav__sub a { color: rgba(255,255,255,.8); }
  .nav.is-open .nav__sub a:hover { background: transparent; color: var(--c-accent); }

  /* Mobile mega menu collapses into the drawer */
  .nav.is-open .mega { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; border: 0; border-radius: 0; background: rgba(255,255,255,.04); }
  .nav.is-open .mega__inner, .nav.is-open .mega__inner--nofeature { grid-template-columns: 1fr; }
  .nav.is-open .mega__feature { display: none; }
  .nav.is-open .mega__groups { grid-template-columns: 1fr; padding: 6px 0 12px 14px; gap: 14px; }
  .nav.is-open .mega__group h5 { color: var(--c-accent); }
  .nav.is-open .mega__group a { color: rgba(255,255,255,.8); }

  .hero__slide { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 280px; order: -1; }
  .hero__media::after { background: linear-gradient(180deg, rgba(15,43,76,.2), var(--c-primary)); }
  .hero__inner { padding-block: 48px 56px; }
  .hero__proof { position: static; max-width: none; margin-top: 8px; }
  .hero__dots { display: none; }
  /* Mobile: drop the scaled background video (it overflows the viewport) — show poster instead */
  .hero__yt, .hero__video { display: none !important; }
  .hero__media--yt .hero__yt-poster, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }

  .services__grid { --cols: 2; }
  .testimonials__grid { --cols: 1; }
  .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .topics__grid { --cols: 2; }
  .card-grid { --cols: 2; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat::before { display: none !important; }
  .services__grid, .card-grid, .gallery__grid, .topics__grid { --cols: 1; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Mega menu
   ============================================================ */
.mega {
  position: absolute; top: calc(100% + 6px); left: 50%; z-index: 60;
  width: min(1000px, calc(100vw - 48px));
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
}
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__inner { display: grid; grid-template-columns: 0.95fr 2.2fr; }
.mega__inner--nofeature { grid-template-columns: 1fr; }
.mega__feature { background: linear-gradient(160deg, var(--c-primary), var(--c-primary-2)); color: #fff; padding: 30px; display: flex; flex-direction: column; }
.mega__feature .eyebrow { color: var(--c-accent); }
.mega__feature h4 { color: #fff; font-size: 1.4rem; margin: 12px 0; }
.mega__feature p { color: rgba(255,255,255,.78); font-size: .88rem; margin: 0 0 auto; }
.mega__feature .btn { margin-top: 22px; align-self: flex-start; }
.mega__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 30px; padding: 32px 34px; }
.mega__group h5 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; margin: 0 0 14px; }
.mega__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mega__group a { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--c-text); transition: color var(--tr), gap var(--tr); }
.mega__group a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-accent); flex: none; }
.mega__group a:hover { color: var(--c-primary); gap: 12px; }

/* ============================================================
   Floating action rail (back-to-top + contact)
   ============================================================ */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 1500; display: flex; flex-direction: column; gap: 12px; }
.fab a, .fab button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; box-shadow: var(--shadow); cursor: pointer; transition: transform var(--tr), opacity var(--tr); }
.fab a:hover, .fab button:hover { transform: translateY(-3px); }
.fab svg { width: 22px; height: 22px; }
.fab__wa { background: #25D366; }
.fab__phone { background: var(--c-primary); }
.fab__mail { background: var(--c-accent); color: var(--c-primary); }
.fab__top { background: var(--c-primary); border: 1px solid rgba(255,255,255,.18); opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab__top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 560px) {
  .fab { right: 12px; bottom: 14px; gap: 10px; }
  .fab a, .fab button { width: 46px; height: 46px; }
}

/* ===== Time Academy header overrides (crowding fix + language dropdown) ===== */
/* Item 1: more room for the long menu — widen header, tighten spacing, edge-align brand */
.site-header .container.site-header__inner { max-width: 1440px; gap: 10px; }
.site-header__inner { gap: 10px; }
.brand__logo { height: 40px; }
.nav { gap: 0; }
.nav__link { padding: 10px 9px; font-size: .86rem; }
.header-actions { gap: 8px; }
.header-actions .btn--primary { padding: 9px 14px; font-size: .82rem; }
@media (max-width: 1200px){
  .site-header .container.site-header__inner { max-width: 100%; }
  .nav__link { padding: 10px 7px; font-size: .82rem; }
}

/* Item 2: theme-matched language dropdown */
.lang-dd { position: relative; }
.lang-dd__btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: .8rem; font-weight: 600; padding: 7px 10px; border-radius: 8px;
  transition: background var(--tr), border-color var(--tr);
}
.lang-dd__btn:hover { background: rgba(255,255,255,.16); }
.lang-dd__btn .nav__caret { width: 11px; height: 11px; transition: transform var(--tr); }
.lang-dd__panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: #fff; border-radius: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.22);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr); z-index: 60;
}
.lang-dd:hover .lang-dd__panel, .lang-dd:focus-within .lang-dd__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dd:hover .lang-dd__btn .nav__caret, .lang-dd:focus-within .lang-dd__btn .nav__caret { transform: rotate(180deg); }
.lang-dd__panel a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: .88rem; font-weight: 500;
  color: var(--c-text, #14233B);
}
.lang-dd__panel a:hover { background: var(--c-bg, #FBF9F4); }
.lang-dd__panel a.is-current { color: var(--c-accent, #C8A24C); font-weight: 700; }
/* keep language switcher usable on mobile */
@media (max-width: 920px){ .header-actions .lang-dd { display: block; } }

/* RTL niceties for Arabic */
html[dir="rtl"] .lang-dd__panel { right: auto; left: 0; }
html[dir="rtl"] .hero__content { text-align: right; }
/* RTL: mirror the hero — media moves to the LEFT, gradient + proof card flip sides.
   Media/gradient scoped to desktop so the mobile (max-width:860px) inset:auto stacking is preserved. */
@media (min-width: 861px) {
  html[dir="rtl"] .hero__media { inset: 0 42% 0 0; }
  html[dir="rtl"] .hero__media::after { background: linear-gradient(260deg, var(--c-primary) 6%, rgba(15,43,76,.78) 32%, rgba(15,43,76,.18) 70%); }
  html[dir="rtl"] .hero__proof { right: auto; left: max(24px, calc((100vw - var(--container)) / 2 + 24px)); }
}
html[dir="rtl"] .hero__proof-head { flex-direction: row-reverse; }
html[dir="rtl"] .hero__proof p { text-align: right; }

/* ===== Blog/içerik detay meta satırı (yazar · tarih · okuma süresi) ===== */
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 10px; color: var(--c-muted); font-size: .9rem; }
.entry-meta__item { display: inline-flex; align-items: center; gap: 7px; }
.entry-meta__item i { color: var(--c-accent); font-size: .9em; }
.entry-meta__sep { color: var(--c-border); user-select: none; }

/* ===== Video lightbox (inline play for testimonials) ===== */
.video-lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8,16,30,.92); padding: 24px; }
.video-lightbox.is-open { display: flex; }
.video-lightbox__frame { position: relative; width: min(960px, 92vw); aspect-ratio: 16/9; }
.video-lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.video-lightbox__close { position: absolute; top: 16px; right: 24px; font-size: 2.4rem; line-height: 1; background: none; border: 0; color: #fff; cursor: pointer; }
.ta-video { cursor: pointer; }

/* ===== FeatureContent "Spotlight" variant (navy band, distinct) ===== */
.feature-spotlight .feature__media img { border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.feature-spotlight .feature__rich, .feature-spotlight .feature__rich * { color: rgba(255,255,255,.86); }
.feature-spotlight .feature__rich strong { color: #fff; }

/* ===== Mobile fixes (Time Academy) — grids overflow because views set inline --cols ===== */
@media (max-width: 860px) {
  /* Inline style="--cols:N" beats stylesheet media queries; force-wrap all card grids */
  .topics__grid, .services__grid, .card-grid, .testimonials__grid, .gallery__grid, .projects__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }
  /* Neutralise full-bleed break-out bands (partner logos, story grid) on mobile */
  .rich-text [style*="translateX(-50%)"] { width: 100% !important; margin-left: 0 !important; transform: none !important; }
  /* Safety: nothing should force horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100%; }
}
@media (max-width: 520px) {
  .topics__grid, .services__grid, .card-grid, .testimonials__grid, .gallery__grid, .projects__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Team / Ekip block (pulls from "Team" content type) ===== */
.team__grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.team-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; transition: transform var(--tr), box-shadow var(--tr); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-accent); }
.team-card__top { display: flex; align-items: center; gap: 14px; }
.team-card__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.team-card__avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.team-card__role { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; }
.team-card__name { font-size: 1.15rem; margin: 3px 0 0; }
.team-card__bio { font-size: .9rem; color: var(--c-muted); margin: 0; }
.team-card__contact { display: flex; flex-direction: column; gap: 9px; }
.team-card__link { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--c-text); word-break: break-all; }
.team-card__link i { width: 16px; flex: none; color: var(--c-accent); }
.team-card__link:hover { color: var(--c-accent-2); }
.team-card__wa { margin-top: auto; justify-content: center; }

/* ===== Floating actions — multi-rep popups (WhatsApp / Phone / Mail, from Team) ===== */
.fab details.fab__dd { position: relative; }
.fab details > summary { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); cursor: pointer; list-style: none; transition: transform var(--tr); }
.fab details > summary::-webkit-details-marker { display: none; }
.fab details > summary::marker { content: ""; }
.fab details > summary:hover { transform: translateY(-3px); }
.fab details > summary svg { width: 22px; height: 22px; }
.fab__reps { position: absolute; right: calc(100% + 12px); bottom: 0; width: 280px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; animation: fabPop .18s ease; z-index: 5; }
@keyframes fabPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fab__reps-head { font-size: .78rem; font-weight: 700; color: var(--c-muted); padding: 6px 8px 10px; }
/* override the generic ".fab a" circle rule for the list rows */
.fab__reps a.fab__rep { width: auto; height: auto; border-radius: 10px; display: flex; align-items: center; gap: 10px; padding: 9px 8px; box-shadow: none; color: var(--c-text); }
.fab__reps a.fab__rep:hover { transform: none; background: var(--c-bg); }
.fab__rep-ic { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center; flex: none; }
.fab__rep-ic--wa { background: #25D366; }
.fab__rep-ic--phone { background: var(--c-primary); }
.fab__rep-ic--mail { background: var(--c-accent); color: var(--c-primary); }
.fab__rep-ic i { font-size: 1rem; }
.fab__rep-txt { min-width: 0; }
.fab__rep-txt strong { display: block; font-size: .9rem; color: var(--c-text); line-height: 1.2; }
.fab__rep-txt small { display: block; color: var(--c-muted); font-size: .76rem; line-height: 1.25; }
@media (max-width: 560px) { .fab details > summary { width: 46px; height: 46px; } .fab__reps { width: min(82vw, 280px); } }

/* ===== Student Stories block ===== */
.stories__grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.story-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; text-align: left; }
.story-card__media { position: relative; display: block; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: var(--c-primary); min-height: 180px; }
.story-card__media img, .story-card__banner { width: 100%; height: 180px; object-fit: cover; display: block; }
.story-card__banner { border-radius: 12px; margin-bottom: 16px; }
.story-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.story-card__play i { width: 54px; height: 54px; border-radius: 50%; background: rgba(15,43,76,.88); color: #fff; display: grid; place-items: center; }
.story-card__stars { color: var(--c-accent); letter-spacing: 2px; margin-bottom: 10px; }
.story-card blockquote { margin: 0 0 18px; font-size: .98rem; line-height: 1.6; flex: 1; color: var(--c-text); }
.story-card__who { display: flex; align-items: center; gap: 12px; }
.story-card__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.story-card__avatar--ph { display: grid; place-items: center; background: var(--c-primary); color: #fff; font-weight: 700; }
.story-card__txt strong { display: block; line-height: 1.2; }
.story-card__txt small { color: var(--c-muted); font-size: .84rem; }

/* ===== SocialFeed block ===== */
.social-feed__handle { color: var(--c-accent); font-weight: 600; }
.social__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.social-card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; background: var(--c-primary); box-shadow: var(--shadow); }
.social-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr); }
.social-card:hover img { transform: scale(1.05); }
.social-card__ov { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c-primary); display: grid; place-items: center; }
.social-card__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; color: #fff; font-size: .8rem; line-height: 1.35; background: linear-gradient(transparent, rgba(8,16,30,.85)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.social-feed__cta { text-align: center; margin-top: 28px; }
.social-feed__embed { max-width: 900px; margin-inline: auto; }

/* ===== Form submit result message ===== */
.form__result { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.form__result.is-ok { background: #e8f6ec; color: #1b7a3d; border: 1px solid #bfe6cb; }
.form__result.is-err { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }

/* ===== FeatureContent video media (YouTube/Vimeo/mp4 via lightbox) ===== */
.feature__video { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.feature__video img { display: block; width: 100%; }
.feature__play { position: absolute; inset: 0; display: grid; place-items: center; }
.feature__play i { width: 66px; height: 66px; border-radius: 50%; background: rgba(15,43,76,.85); color: #fff; display: grid; place-items: center; font-size: 1.3rem; transition: transform var(--tr), background var(--tr); }
.feature__video:hover .feature__play i { transform: scale(1.08); background: var(--c-accent); color: var(--c-primary); }

/* ===== Language flags in dropdown ===== */
.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-dd__btn .lang-flag { width: 22px; height: 15px; }
.lang-dd__panel a { display: flex; align-items: center; gap: 10px; }
/* RTL polish (Arabic) */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .nav, html[dir="rtl"] .header-actions { direction: rtl; }
html[dir="rtl"] .feature--reverse { direction: ltr; }
html[dir="rtl"] .section-head, html[dir="rtl"] .rich-text { text-align: right; }
html[dir="rtl"] .link-arrow .ic, html[dir="rtl"] .btn .ic { transform: scaleX(-1); }

/* ===== Header fits long-label languages (e.g. Russian) ===== */
.site-header .container.site-header__inner { max-width: none; gap: 8px; }
.nav { gap: 0; }
.nav__link { padding: 9px 7px; font-size: .82rem; }
.header-actions { gap: 8px; }
.header-actions .btn--primary { padding: 9px 13px; font-size: .8rem; }
@media (max-width: 1560px) { .nav__link { padding: 8px 6px; font-size: .76rem; } .nav__caret { width: 8px; height: 8px; } }

/* ===== Floating actions: force Turkish-safe body font, never transform ===== */
.fab__reps, .fab__reps-head, .fab__rep, .fab__rep-txt, .fab__rep-txt strong, .fab__rep-txt small {
  font-family: var(--font-body) !important;
  text-transform: none !important;
}

/* ===== RTL: neutralise the full-bleed break-out bands (partner logos, story grid) ===== */
html[dir="rtl"] .rich-text [style*="translateX(-50%)"] {
  width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; transform: none !important;
}
