/* ========================================
   TolueTuran — Pixel-Perfect Recreation
   Matches Framer original at thoughtful-type-815014.framer.app
   ======================================== */

/* ---- Design Tokens ---- */
:root {
  --bg-main: #faf6f0;
  --bg-card: #fff;
  --text-primary: #030303;
  --text-muted: rgba(5, 5, 5, 0.25);
  --text-light: #969696;
  --accent-dark: #050505;
  --accent-light: #fffefa;
  --border-subtle: rgba(5, 5, 5, 0.25);
  --border-faint: rgba(5, 5, 5, 0.1);
  --overlay-dark: rgba(0, 0, 0, 0.5);
  --overlay-red: rgba(173, 67, 59, 0.87);
  --nav-gradient-start: rgb(250, 246, 240);
  --nav-gradient-end: rgba(255, 254, 250, 0);
  --hero-text: #030303;
  --hero-logo-filter: brightness(0);
  --link-color: rgb(0, 153, 255);
  --control-bg: rgba(255, 255, 255, 0.85);
  --control-border: rgba(5, 5, 5, 0.12);
  --control-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --team-badge-bg: rgba(255, 255, 255, 0.9);
  --max-width: 1600px;
  --radius-card: 24px;
  --radius-btn: 58px;
  --font-heading: "Mj_Extender X-Slant Bold", "CANAVAR ExtraBold", sans-serif;
  --font-body: "Yekan NewFace D1 Medium", "Shabnam Bold", sans-serif;
  --font-en: "Switzer", sans-serif;
  --font-en-display: "Switzer", sans-serif;
}

[data-theme="dark"] {
  --bg-main: #141210;
  --bg-card: #1f1c19;
  --text-primary: #f5f0e8;
  --text-muted: rgba(245, 240, 232, 0.35);
  --text-light: #a8a29a;
  --accent-dark: #f5f0e8;
  --accent-light: #1f1c19;
  --border-subtle: rgba(245, 240, 232, 0.2);
  --border-faint: rgba(245, 240, 232, 0.08);
  --nav-gradient-start: rgb(20, 18, 16);
  --nav-gradient-end: rgba(20, 18, 16, 0);
  --hero-text: #f5f0e8;
  --hero-logo-filter: brightness(0) invert(1);
  --link-color: #5eb8ff;
  --control-bg: rgba(31, 28, 25, 0.92);
  --control-border: rgba(245, 240, 232, 0.12);
  --control-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --team-badge-bg: rgba(31, 28, 25, 0.92);
}

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  overflow: visible;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  background: linear-gradient(180deg, var(--nav-gradient-start) 0%, var(--nav-gradient-end) 100%);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  position: relative;
  overflow: visible;
}

.nav-logo {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 65px;
  width: auto;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  font-family: "Yekan NewFace D1 Medium", sans-serif;
  font-size: 25px;
  font-weight: 500;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
  position: relative;
}

.nav-item:hover {
  opacity: 0.7;
}

.nav-right {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: visible;
  z-index: 10;
}

/* Theme & language controls */
.theme-toggle,
.lang-current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--control-border);
  border-radius: 999px;
  background: var(--control-bg);
  box-shadow: var(--control-shadow);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.theme-toggle:hover,
.lang-current:hover {
  transform: translateY(-1px);
}

.theme-toggle {
  width: 36px;
  padding: 0;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.lang-selector {
  position: relative;
  z-index: 1100;
}

.lang-current {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-current .flag-icon {
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.lang-chevron {
  width: 10px;
  height: 10px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.lang-selector.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  inset-inline-start: auto;
  min-width: 148px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--control-bg);
  border: 1px solid var(--control-border);
  border-radius: 12px;
  box-shadow: var(--control-shadow);
  z-index: 1101;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lang-selector.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: start;
}

.lang-option:hover,
.lang-option.is-active {
  background: var(--border-faint);
}

.lang-option.is-active {
  font-weight: 600;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Navbar scrolled state */
.navbar.scrolled {
  border-bottom: 1px solid var(--border-faint);
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="ltr"] .mobile-menu {
  transform: translateX(-100%);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-link {
  font-family: "Yekan NewFace D1 Medium", sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.mobile-link:hover { opacity: 0.7; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: rgba(173, 67, 59, 0.87);
  object-position: 50% 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(173, 67, 59, 0.87);
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126' height='126'%3E%3Cpath id='a' d='M126 0v21.584L21.584 126H0v-17.585L108.415 0H126Zm0 108.414V126h-17.586L126 108.414Zm0-84v39.171L63.585 126H24.414L126 24.414Zm0 42v39.17L105.584 126h-39.17L126 66.414ZM105.586 0 0 105.586V84L84 0ZM84 0 0 84V63.586L63.586 0ZM63.587 0 0 63.587V42L42 0ZM42 0 0 42V21.585L21.585 0Z'/%3E%3Cuse href='%23a' transform='matrix(0 1 -1 0 126 126)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 64px auto;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  font-family: "Mj_Extender X-Slant Bold", sans-serif;
  font-size: clamp(36px, 6vw, 87px);
  font-weight: 700;
  color: var(--hero-text);
  text-align: center;
  line-height: 1.1;
}

.hero-title-accent {
  color: var(--hero-text);
}

.hero-sub {
  margin-top: 24px;
  margin-bottom: 40px;
}

.hero-subtitle-en {
  font-family: "CANAVAR ExtraBold", sans-serif;
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1em;
  color: var(--hero-text);
  text-align: center;
  margin-bottom: 8px;
}

.hero-subtitle-fa {
  font-family: "Yekan NewFace D1 Medium", sans-serif;
  font-size: clamp(24px, 3.5vw, 58px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4em;
  color: var(--hero-text);
  text-align: center;
}

.hero-logo-float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-float-logo {
  width: 80px;
  height: auto;
  filter: var(--hero-logo-filter);
}

.hero-brand-text {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 300;
  color: var(--hero-text);
}

/* ========================================
   SHOWCASE — Framer qhkeru 2×2 mosaic
   ======================================== */
.showcase {
  padding: 60px 0 80px;
  background-color: var(--bg-main);
}

.showcase-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* framer-qhkeru-container */
.showcase-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(352px, 42vw, 563px);
  padding: 40px;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  background-color: #f5f5f5;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

[data-theme="dark"] .showcase-card {
  background-color: #2a2622;
}

.showcase-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.showcase-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.65s cubic-bezier(0.25, 0, 0.25, 1),
              transform 0.65s cubic-bezier(0.25, 0, 0.25, 1),
              filter 0.65s cubic-bezier(0.25, 0, 0.25, 1);
}

.showcase-card-photo {
  z-index: 0;
  opacity: 1;
  transform: scale(1);
}

.showcase-card-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.45) 100%
  );
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.44, 0, 0.56, 1);
  pointer-events: none;
}

.showcase-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.25, 0, 0.25, 1);
  pointer-events: none;
}

.showcase-card-overlay-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (hover: hover) {
  .showcase-card:hover .showcase-card-overlay,
  .showcase-card:focus-visible .showcase-card-overlay {
    opacity: 0.12;
  }
}

.showcase-card.is-active .showcase-card-overlay {
  opacity: 0.12;
}

.showcase-card-caption {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  text-align: center;
  color: var(--text-primary);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.44, 0, 0.56, 1),
              transform 0.55s cubic-bezier(0.44, 0, 0.56, 1);
  pointer-events: none;
}

.showcase-card-heading {
  font-family: "Shabnam Bold", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3em;
  margin: 0;
}

.showcase-card-desc {
  font-family: "Shabnam Bold", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.9em;
  margin: 0;
}

/* Hover / focus — reveal photo + caption (Framer vidr02 interaction) */
@media (hover: hover) {
  .showcase-card:hover .showcase-card-photo,
  .showcase-card:focus-visible .showcase-card-photo {
    transform: scale(1.05);
    filter: blur(4px);
  }

  .showcase-card:hover .showcase-card-shade,
  .showcase-card:focus-visible .showcase-card-shade {
    opacity: 1;
  }

  .showcase-card:hover .showcase-card-caption,
  .showcase-card:focus-visible .showcase-card-caption {
    opacity: 1;
    transform: translateY(0);
    color: #fff;
  }
}

/* Touch: tap toggles caption */
.showcase-card.is-active .showcase-card-photo {
  transform: scale(1.05);
  filter: blur(4px);
}

.showcase-card.is-active .showcase-card-shade {
  opacity: 1;
}

.showcase-card.is-active .showcase-card-caption {
  opacity: 1;
  transform: translateY(0);
  color: #fff;
}

.showcase-card:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card-media img,
  .showcase-card-shade,
  .showcase-card-caption {
    transition: none;
  }
}

.arrow-svg {
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  opacity: 0.4;
}

/* ========================================
   WORKS / DECORATIVE HEADING SECTION
   ======================================== */
.works {
  padding: 80px 0 40px;
  background-color: var(--bg-main);
  text-align: center;
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.works-heading {
  font-family: "picoopic Black", sans-serif;
  font-size: clamp(36px, 5vw, 83px);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 40px;
  line-height: 1.2;
}

.works-services-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: start;
}

.works-services-text p {
  font-family: "Shabnam Bold", sans-serif;
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 2.2em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* ========================================
   SERVICES / TEAM SECTION
   (called "Services" in Framer — contains the team cards)
   ======================================== */
.services {
  padding: 80px 0 80px;
  background-color: var(--bg-main);
}

.services-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.services-title-row {
  text-align: center;
  margin-bottom: 48px;
}

.services-title {
  font-family: "Mj_Extender X-Slant Bold", sans-serif;
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

/* Cards Wrapper — holds both team cards side by side */
.cards-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.team-card {
  flex: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-faint);
  transition: box-shadow 0.3s ease;
}

.team-card:hover {
  box-shadow: var(--card-shadow);
}

.team-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.team-photo-wrapper {
  position: absolute;
  inset: 0;
}

.team-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%);
}

.team-photo-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--team-badge-bg);
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-logo img {
  width: 36px;
  height: 38px;
}

.team-card-info {
  padding: 32px 28px;
}

.team-name {
  font-family: var(--font-en-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  direction: ltr;
  text-align: left;
}

.team-role {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 20px;
  direction: ltr;
  text-align: left;
}

.team-achievements {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-achievements li {
  font-family: "Shabnam Bold", sans-serif;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 2em;
  color: var(--text-primary);
  padding-right: 16px;
  position: relative;
  text-align: right;
}

.team-achievements li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 50%;
}

.team-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  flex: 0 0 40px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--bg-main);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-heading {
  font-family: var(--font-en);
  font-size: 51px;
  font-weight: 200;
  line-height: 1.3em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: left;
  direction: ltr;
}

.footer-col-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.footer-arrow-icon {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.footer-link {
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.3em;
  color: var(--link-color);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.footer-link:hover { opacity: 0.7; }

.footer-text {
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.5em;
  color: var(--text-light);
  direction: ltr;
  text-align: left;
}

.footer-menu-link {
  display: block;
  font-family: "Yekan NewFace D1 Medium", sans-serif;
  font-size: 17px;
  line-height: 1.3em;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: opacity 0.2s;
}

.footer-menu-link:hover { opacity: 0.7; }

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-brand-logo img {
  width: 50px;
  height: 52px;
}

.footer-brand-name {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
}

.footer-bottom-logo img {
  width: 30px;
  height: 32px;
}

.footer-copyright {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-light);
  direction: ltr;
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(30px);
}

[data-animate].animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.3, 0.76, 0.56, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.3, 0.76, 0.56, 1) 0.1s forwards;
}

/* ========================================
   RESPONSIVE — Tablet (810px – 1199px)
   ======================================== */
@media (max-width: 1199px) {
  .nav-logo img { height: 50px; }
  .nav-item { font-size: 20px; }
  .nav-links-desktop { gap: 24px; }

  .works { padding: 60px 0 32px; }
  .showcase { padding: 40px 0 60px; }

  .showcase-card {
    min-height: 384px;
    padding: 32px;
  }

  .services { padding: 60px 0 60px; }

  .cards-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .team-card { max-width: 100%; }

  .team-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

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

  .footer-heading {
    font-size: 36px;
  }
}

/* ========================================
   RESPONSIVE — Mobile (< 810px)
   ======================================== */
@media (max-width: 809px) {
  .nav-links-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 44px; }

  .hero-title-line {
    font-size: clamp(28px, 7vw, 48px);
  }

  .hero-subtitle-en {
    font-size: clamp(22px, 5vw, 40px);
  }

  .hero-subtitle-fa {
    font-size: clamp(18px, 4vw, 32px);
    letter-spacing: 0.04em;
  }

  .works { padding: 48px 0 24px; }
  .showcase { padding: 32px 0 48px; }
  .services { padding: 48px 0 48px; }

  .showcase-mosaic {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .showcase-card {
    min-height: 352px;
    padding: 24px;
    border-radius: 24px;
  }

  .cards-wrapper {
    gap: 24px;
  }

  .team-arrow {
    transform: rotate(90deg);
  }

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

  .footer-heading {
    font-size: 28px;
  }
}

/* ========================================
   LTR layout (English)
   ======================================== */
html[dir="ltr"] .nav-logo {
  right: auto;
  left: 24px;
}

html[dir="ltr"] .nav-right {
  left: auto;
  right: 24px;
}

html[dir="ltr"] .showcase-card-caption {
  text-align: center;
}

html[dir="ltr"] .team-achievements li {
  text-align: left;
  padding-right: 0;
  padding-left: 16px;
}

html[dir="ltr"] .team-achievements li::before {
  right: auto;
  left: 0;
}

html[dir="ltr"] .team-photo-logo {
  right: auto;
  left: 16px;
}

html[dir="ltr"] .works-services-text,
html[dir="ltr"] .works-heading {
  text-align: left;
}


/* ========================================
   Language Typography (EN/TR override Persian fonts)
   ======================================== */
html[lang="en"] .showcase-card-heading,
html[lang="tr"] .showcase-card-heading,
html[lang="en"] .showcase-card-desc,
html[lang="tr"] .showcase-card-desc {
  font-family: var(--font-en);
}

html[lang="en"] .works-services-text p,
html[lang="tr"] .works-services-text p {
  font-family: var(--font-en);
  letter-spacing: normal;
}

html[lang="en"] .team-achievements li,
html[lang="tr"] .team-achievements li {
  font-family: var(--font-en);
  letter-spacing: normal;
}

html[lang="en"] .hero-subtitle-fa,
html[lang="tr"] .hero-subtitle-fa {
  letter-spacing: normal;
  font-family: var(--font-en);
}

/* ========================================
   Utility
   ======================================== */
body.menu-open { overflow: hidden; }
