/* ==========================================================================
   Iltizam Real Estate — Design Tokens & Base
   Brand: deep maroon + gold, warm ivory surfaces, luxury serif display type
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Noto+Kufi+Arabic:wght@400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand colors — sourced from the existing Iltizam identity */
  --color-primary: #730D00;
  --color-primary-dark: #430700;
  --color-primary-light: #9A2A16;
  --color-gold: #CAA674;
  --color-gold-light: #E7D2AE;
  --color-gold-dark: #A8824F;

  --color-bg: #FBF8F4;
  --color-bg-alt: #F3EADD;
  --color-surface: #FFFFFF;
  --color-dark: #1C1310;
  --color-dark-2: #240D08;
  --color-dark-3: #170A07;
  --color-muted: #6E5F54;
  --color-border: #E8DDCB;

  --color-on-primary: #FFFFFF;
  --color-on-dark: #F4EBDF;
  --color-on-dark-muted: #C9B7A6;

  /* Typography — Latin default (EN / TR), overridden for [lang="ar"] */
  --font-heading: 'Cinzel', 'Noto Kufi Arabic', serif;
  --font-body: 'DM Sans', 'IBM Plex Sans Arabic', -apple-system, sans-serif;
  --tracking-wide: 0.08em;

  /* Spacing scale (density: standard) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(28, 19, 16, 0.06);
  --shadow-md: 0 12px 32px rgba(28, 19, 16, 0.10);
  --shadow-lg: 0 24px 64px rgba(28, 19, 16, 0.16);
  --shadow-gold: 0 8px 24px rgba(202, 166, 116, 0.35);

  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --container-w: 1240px;

  /* Dedicated numeral font — used for stats, counters and figures so digits
     stay clean and legible instead of inheriting the decorative display font. */
  --font-numeric: 'DM Sans', -apple-system, sans-serif;
}

html[lang="ar"] {
  --font-heading: 'Noto Kufi Arabic', 'Cinzel', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'DM Sans', sans-serif;
  --tracking-wide: 0;
}
/* Arabic script needs looser leading than Latin to read comfortably at the
   same font size — the global 1.65 felt cramped for Arabic paragraphs. */
html[lang="ar"] body { line-height: 1.85; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* `clip` (not `hidden`) so this only trims stray horizontal overflow —
     `overflow-x: hidden` alone forces overflow-y to compute as `auto` per
     spec, turning <body> into a second, competing scroll container
     alongside the document/window (breaks window.scrollTo, scroll-to-top,
     anchor links). Fall back to hidden for older browsers without `clip`. */
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--color-gold-dark);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-7); }
}

.section { padding-block: var(--space-9); }
@media (max-width: 767px) {
  .section { padding-block: var(--space-8); }
}
.section-alt { background: var(--color-bg-alt); }
.section-dark {
  background: linear-gradient(160deg, var(--color-dark-3), var(--color-dark-2));
  color: var(--color-on-dark);
}
.section-dark .muted { color: var(--color-on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-gold-dark);
  display: inline-block;
}
.section-dark .eyebrow, .section-dark .eyebrow::before { color: var(--color-gold); background: var(--color-gold); }

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
.section-head p { margin-top: var(--space-4); color: var(--color-muted); font-size: 1.05rem; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-standard), box-shadow 0.25s var(--ease-standard), background-color 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--color-gold); color: var(--color-dark-2); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--color-gold-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.section:not(.section-dark) .btn-outline { border-color: var(--color-dark); color: var(--color-dark); }
.section:not(.section-dark) .btn-outline:hover { background: var(--color-dark); color: #fff; }
.btn-whatsapp { border-color: #25D366; color: #25D366; background: transparent; }
.btn-whatsapp:hover { background: #25D366; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==================== NAV ====================
   The nav bar is always a light, opaque surface — over the hero, over the
   dark page-header, and once scrolled. This keeps the brand logo (a fixed
   maroon/gold PNG lockup) legible everywhere without needing a color-invert
   filter, and avoids re-deriving light/dark text contrast per page. */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: var(--space-4);
  background: rgba(251, 248, 244, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(28, 19, 16, 0.06);
  transition: background-color 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), padding 0.35s var(--ease-standard);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.nav.is-scrolled { background: rgba(251, 248, 244, 0.96); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding-block: var(--space-3); }
.nav-brand { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.nav-brand img { height: 74px; width: auto; transition: height 0.35s var(--ease-standard); }
.nav.is-scrolled .nav-brand img { height: 58px; }
.nav-links { display: none; align-items: center; gap: var(--space-6); }
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-dark);
  padding-block: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-gold-dark);
  transition: width 0.3s var(--ease-standard);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--color-primary); }
.nav-actions { display: flex; align-items: center; gap: var(--space-4); }
.lang-switch { position: relative; }
.lang-switch button {
  display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600;
  padding: 8px 12px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-dark);
  transition: all 0.3s;
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: var(--space-2); min-width: 190px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.2s var(--ease-standard);
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--color-dark); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.nav-dropdown-caret { width: 13px; height: 13px; vertical-align: -2px; transition: transform 0.25s var(--ease-standard); }
.nav-dropdown:hover .nav-dropdown-caret { transform: rotate(180deg); }
.mobile-submenu-link { padding-inline-start: var(--space-5) !important; font-size: 1.1rem !important; color: var(--color-muted) !important; }

.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: var(--space-2); min-width: 140px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.2s var(--ease-standard);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 0.88rem; }
.lang-menu a:hover { background: var(--color-bg-alt); }
.lang-menu a.active { color: var(--color-primary); font-weight: 700; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-dark); transition: transform 0.3s var(--ease-standard), opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; top: 0;
  background: var(--color-bg);
  padding: 116px var(--space-5) var(--space-6);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-standard);
  z-index: 90;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; font-family: var(--font-heading); font-size: 1.6rem; padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); }
.mobile-menu .mobile-langs { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.mobile-menu .mobile-langs a { flex: 1; text-align: center; border: 1px solid var(--color-border); border-radius: var(--radius-full); font-family: var(--font-body); font-size: 0.95rem; padding: 12px; }

/* Below desktop breakpoint: nav bar shows only logo + hamburger.
   CTA and language switch live inside the mobile menu instead, so the
   nav row never overflows narrow viewports. */
.nav-actions .lang-switch,
.nav-actions > .btn-primary {
  display: none;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions .lang-switch,
  .nav-actions > .btn-primary {
    display: flex;
  }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ==================== HERO ====================
   Full-bleed Istanbul photo with the brand maroon washed on top (not
   behind) the image, at low enough opacity that the city stays clearly
   visible underneath. `.hero` establishes its own stacking context
   (z-index: 0) so the negative-z-index trick isn't needed for `.hero-media`. */
.hero {
  position: relative;
  z-index: 0;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 160px;
  /* Generous, fixed clearance below the content so the scroll indicator
     (anchored near the true bottom) never fights the CTA row for space,
     regardless of how tall the headline/lead/buttons render. */
  padding-bottom: var(--space-10);
  color: #fff;
  overflow: hidden;
  background: var(--color-dark-2);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(115, 13, 0, 0.26) 0%, rgba(87, 10, 0, 0.34) 55%, rgba(23, 10, 7, 0.6) 100%);
  transition: opacity 0.5s var(--ease-standard);
}
/* Hovering an empty stretch of the hero (not over the text/button block,
   which sits above this layer) fades the wash so the photo reads clearly. */
.hero-media:hover::after { opacity: 0.4; }
@media (hover: none) { .hero-media:hover::after { opacity: 1; } }
.hero-content, .hero-scroll { position: relative; z-index: 1; }
.hero-content { max-width: 780px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(9, 4, 2, 0.7), 0 6px 28px rgba(9, 4, 2, 0.55);
}
html[lang="ar"] .hero h1 { letter-spacing: 0; }
.hero .gold-word { color: var(--color-gold); display: block; font-size: 0.62em; margin-top: var(--space-3); }
.hero p.lead { margin-top: var(--space-5); font-size: 1.15rem; color: var(--color-on-dark-muted); max-width: 560px; text-shadow: 0 1px 2px rgba(9, 4, 2, 0.6), 0 4px 16px rgba(9, 4, 2, 0.4); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-7); }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--color-dark); }
.hero-scroll {
  position: absolute; bottom: var(--space-5); inset-inline-start: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  color: var(--color-on-dark-muted); font-size: 0.75rem; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  z-index: 1;
}
[dir="rtl"] .hero-scroll { transform: translateX(50%); }
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--color-gold), transparent); position: relative; overflow: hidden; }
/* Extra safety net for extremely short viewports where even the fixed
   clearance above gets squeezed. */
@media (max-height: 480px) {
  .hero-scroll { display: none; }
}

.stats-strip {
  position: relative;
  margin-top: calc(-1 * var(--space-8));
  z-index: 5;
}
.stats-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6) var(--space-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .stats-card { grid-template-columns: repeat(4, 1fr); padding: var(--space-7); }
}
.stat { text-align: center; }
.stat-num { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--color-primary); font-weight: 700; }
.stat-label { margin-top: var(--space-2); font-size: 0.85rem; color: var(--color-muted); }

/* Numerals always render in a clean numeric font + LTR direction, regardless
   of the surrounding language's decorative heading font. */
.numeric {
  font-family: var(--font-numeric);
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

/* ==================== CARDS ==================== */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.home-city-group + .home-city-group { margin-top: var(--space-8); }
.home-city-group-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.home-city-group-head h3 { font-size: 1.3rem; }
.home-city-group-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 0.88rem; font-weight: 600; color: var(--color-primary); flex-shrink: 0; }
.home-city-group-link:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), border-color 0.35s;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-gold); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
  transition: background-color 0.35s var(--ease-standard), color 0.35s var(--ease-standard), transform 0.4s var(--ease-standard);
}
.service-icon svg { width: 26px; height: 26px; transition: transform 0.4s var(--ease-standard); }
.service-card:hover .service-icon { background: var(--color-primary); color: #fff; transform: scale(1.08) rotate(-6deg); }
.service-card:hover .service-icon svg { transform: scale(1.1); }

/* Home "End-to-End Services" section — icons pick up the brand gold as a highlight */
.service-icon-gold { background: var(--color-gold-light); color: var(--color-gold-dark); }
.service-card:hover .service-icon-gold { background: var(--color-gold); color: var(--color-dark-2); }
.service-card h3 { font-size: 1.15rem; margin-bottom: var(--space-3); }
.service-card p { color: var(--color-muted); font-size: 0.95rem; }

/* Reels strip — a native horizontally-scrollable row of vertical video
   cards (not a CSS transform marquee), sized so roughly four sit within
   the container width on desktop. A real scroll container is what makes
   the prev/next arrows, the periodic auto-scroll, and the loop-reset all
   just work with normal scrollLeft math. */
.reels-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.reels-strip {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  padding-block: var(--space-5);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reels-strip::-webkit-scrollbar { display: none; }
.reels-track {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: max-content;
}
.reels-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-standard);
}
.reels-arrow:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.reels-arrow svg { width: 18px; height: 18px; }
.reels-arrow-start svg { transform: scaleX(-1); }

/* "Other projects you might like" strip — same scroll-container + arrows
   pattern as the reels strip, sized for project cards instead. */
.cards-strip-wrap { display: flex; align-items: center; gap: var(--space-3); }
.cards-strip { flex: 1 1 auto; min-width: 0; overflow-x: auto; overflow-y: visible; padding-block: var(--space-4); scrollbar-width: none; -ms-overflow-style: none; }
.cards-strip::-webkit-scrollbar { display: none; }
.cards-track { display: flex; gap: var(--space-5); width: max-content; }
.cards-track .project-card { width: clamp(220px, 26vw, 300px); flex-shrink: 0; }
.cards-arrow-start svg { transform: scaleX(-1); }
@media (max-width: 640px) {
  .cards-arrow-start, .cards-arrow-end { display: none; }
}
.reel-card {
  position: relative;
  flex-shrink: 0;
  width: clamp(150px, 22vw, 260px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-dark-2);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-standard), box-shadow 0.4s var(--ease-standard);
}
.reel-card.is-playing {
  transform: scale(1.12);
  z-index: 2;
  box-shadow: var(--shadow-lg);
  cursor: default;
}
.reel-thumb { width: 100%; height: 100%; object-fit: cover; }
.reel-play {
  position: absolute; inset: 0; margin: auto;
  width: 25%; height: auto;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  pointer-events: none;
}
.reel-card iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) {
  .reels-arrow { display: none; }
}

.city-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); border-bottom: 1px solid var(--color-border); }
.city-tab {
  padding: 12px 4px;
  margin-inline-end: var(--space-6);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.25s var(--ease-standard), border-color 0.25s var(--ease-standard);
}
.city-tab:hover { color: var(--color-dark); }
.city-tab.active { color: var(--color-primary); border-color: var(--color-primary); }

.project-filters { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-7); }
.filter-pill {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: all 0.25s var(--ease-standard);
}
.filter-pill:hover { border-color: var(--color-gold); color: var(--color-dark); }
.filter-pill.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-dark-2);
  aspect-ratio: 4/5;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-standard); }
.project-card:hover img { transform: scale(1.08); }

/* Blog / news cards */
.blog-card {
  display: block; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-standard); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: var(--space-6); }
.blog-card-cat { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--color-primary); margin-bottom: var(--space-3); }
.blog-card-body h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: var(--space-3); }
.blog-card-body p { font-size: 0.92rem; }
.blog-card-meta { display: flex; align-items: center; gap: var(--space-5); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-border); font-size: 0.8rem; color: var(--color-muted); }
.blog-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-card-meta svg { width: 15px; height: 15px; }

/* Testimonials */
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6); margin-bottom: var(--space-8); }
.trust-badge {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-full);
  padding: 10px 20px; transition: transform 0.3s var(--ease-standard), box-shadow 0.3s var(--ease-standard);
}
.trust-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.trust-badge > svg { width: 24px; height: 24px; color: var(--color-primary); flex-shrink: 0; }
.trust-badge-stars { display: flex; gap: 1px; color: var(--color-gold); }
.trust-badge-stars svg { width: 13px; height: 13px; }
.trust-badge > div > span { font-size: 0.78rem; font-weight: 700; color: var(--color-muted); }
.testimonials-strip {
  overflow-x: auto; overflow-y: visible; padding-block: var(--space-4);
  scrollbar-width: none; -ms-overflow-style: none; margin-bottom: var(--space-8);
}
.testimonials-strip::-webkit-scrollbar { display: none; }
.testimonials-track { display: flex; gap: var(--space-5); width: max-content; }
.testimonials-track .testimonial-card { width: clamp(280px, 34vw, 380px); flex-shrink: 0; }
.testimonial-write {
  max-width: 560px; margin-inline: auto; text-align: center;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-7);
}
.testimonial-write h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.testimonial-write p { margin-bottom: var(--space-5); font-size: 0.92rem; }
.testimonial-write form { display: flex; flex-direction: column; gap: var(--space-4); }
.testimonial-write input, .testimonial-write textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-md); border: 1px solid var(--color-border);
  background: var(--color-bg); font-family: var(--font-body); font-size: 0.95rem; color: var(--color-dark);
}
.testimonial-write textarea { min-height: 100px; resize: vertical; }
.testimonial-write input:focus, .testimonial-write textarea:focus { outline: none; border-color: var(--color-gold-dark); box-shadow: 0 0 0 3px rgba(202,166,116,0.25); }
.testimonial-write-stars { display: flex; justify-content: center; gap: 4px; }
.testimonial-write-stars button { background: none; border: none; padding: 4px; color: var(--color-border); transition: color 0.2s; }
.testimonial-write-stars button svg { width: 22px; height: 22px; }
.testimonial-write-stars button.active { color: var(--color-gold); }
.testimonial-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.testimonial-stars { display: flex; gap: 2px; color: var(--color-gold); margin-bottom: var(--space-4); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-card p { font-size: 0.98rem; line-height: 1.8; color: var(--color-dark); }
.testimonial-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.testimonial-name { font-weight: 700; font-size: 0.92rem; }
.testimonial-source svg { width: 20px; height: 20px; color: var(--color-muted); }

/* Lead-capture quiz widget */
.lead-quiz {
  max-width: 640px; margin-inline: auto;
  background: linear-gradient(160deg, var(--color-dark-3), var(--color-dark-2));
  color: var(--color-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lead-quiz .eyebrow, .lead-quiz .eyebrow::before { color: var(--color-gold); }
.lead-quiz h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: var(--space-6); }
.lead-quiz-progress { display: flex; justify-content: center; gap: 8px; margin-bottom: var(--space-6); }
.lead-quiz-dot { width: 26px; height: 4px; border-radius: var(--radius-full); background: rgba(255,255,255,0.18); transition: background-color 0.3s; }
.lead-quiz-dot.active, .lead-quiz-dot.done { background: var(--color-gold); }
.lead-quiz-step { display: none; }
.lead-quiz-step.active { display: block; animation: lead-quiz-in 0.4s var(--ease-standard); }
@keyframes lead-quiz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.lead-quiz-options { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 560px) { .lead-quiz-options { grid-template-columns: 1fr 1fr; } }
.lead-quiz-option {
  padding: 14px 18px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05); color: #fff; font-size: 0.92rem; font-weight: 600;
  transition: all 0.25s var(--ease-standard);
}
.lead-quiz-option:hover { border-color: var(--color-gold); background: rgba(202,166,116,0.14); }
.lead-quiz-step form { display: flex; flex-direction: column; gap: var(--space-4); max-width: 380px; margin-inline: auto; }
.lead-quiz-step form input {
  padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-align: center;
}
.lead-quiz-step form input::placeholder { color: var(--color-on-dark-muted); }
.lead-quiz-step form input:focus { outline: none; border-color: var(--color-gold); }
.lead-quiz-back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-6);
  color: var(--color-on-dark-muted); font-size: 0.85rem; background: none; border: none;
}
.lead-quiz-back:hover { color: #fff; }
.lead-quiz-back svg { width: 15px; height: 15px; }
.lead-quiz-done { display: none; }
.lead-quiz-done.active { display: block; animation: lead-quiz-in 0.4s var(--ease-standard); }
.lead-quiz-done svg { width: 48px; height: 48px; color: var(--color-gold); margin-bottom: var(--space-4); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(23,10,7,0.92) 0%, rgba(23,10,7,0.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-5);
  color: #fff;
}
.project-tag {
  align-self: flex-start;
  background: var(--color-gold);
  color: var(--color-dark-2);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.project-card h3 { font-size: 1.2rem; font-family: var(--font-heading); }
.project-card .loc { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.85rem; color: var(--color-on-dark-muted); }
.project-card .loc svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ==================== ABOUT / SPLIT ==================== */
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.split.reverse { direction: ltr; }
.split.reverse > * { direction: initial; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }

/* Founding-year seal — a rotated circular badge instead of a generic corner box */
.founding-badge {
  position: absolute;
  top: -22px;
  inset-inline-end: -22px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--color-primary-light), var(--color-primary) 62%, var(--color-primary-dark));
  border: 3px solid var(--color-gold);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  transform: rotate(-9deg);
  transition: transform 0.4s var(--ease-standard);
}
.about-media:hover .founding-badge { transform: rotate(-2deg) scale(1.04); }
.founding-badge .num { font-size: 1.85rem; font-weight: 700; color: var(--color-gold); line-height: 1; }
.founding-badge .lbl { font-size: 0.6rem; margin-top: 5px; line-height: 1.25; letter-spacing: 0.02em; max-width: 90px; }
@media (max-width: 560px) {
  .founding-badge { width: 108px; height: 108px; top: -16px; inset-inline-end: -12px; }
  .founding-badge .num { font-size: 1.5rem; }
}
.value-list { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.value-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.value-item .dot {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-bg-alt); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.value-item .dot svg { width: 20px; height: 20px; }
.value-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.value-item p { color: var(--color-muted); font-size: 0.92rem; }

/* Values grid on the About page — icon card with a small, tasteful hover motion */
.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  height: 100%;
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard), border-color 0.35s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-gold); }
.value-icon {
  width: 60px; height: 60px; margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: var(--color-gold-light);
  color: var(--color-gold-dark);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.45s var(--ease-standard), background-color 0.35s, color 0.35s;
}
.value-card:hover .value-icon { background: var(--color-primary); color: var(--color-gold); transform: rotate(-8deg) scale(1.08); }
.value-icon svg { width: 26px; height: 26px; }
.value-card h4 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.value-card p { color: var(--color-muted); font-size: 0.9rem; }

/* ==================== TIMELINE / WHY TURKEY ==================== */
.reason-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  height: 100%;
}
.reason-card .n { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-gold-dark); opacity: 0.6; }
.reason-card h3 { margin-top: var(--space-3); font-size: 1.1rem; }
.reason-card p { margin-top: var(--space-3); color: var(--color-muted); font-size: 0.92rem; }

/* Home "Why Turkey" preview cards — colored card instead of a numbered index */
.reason-card-gold {
  background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
  border-color: transparent;
  color: #fff;
  transition: transform 0.35s var(--ease-standard), box-shadow 0.35s var(--ease-standard);
}
.reason-card-gold:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.reason-card-gold .service-icon {
  background: rgba(202,166,116,0.18); color: var(--color-gold);
  transition: transform 0.45s var(--ease-standard), background-color 0.35s;
}
.reason-card-gold:hover .service-icon { background: var(--color-gold); color: var(--color-dark-2); transform: rotate(-8deg) scale(1.08); }
.reason-card-gold h3 { color: #fff; }
.reason-card-gold p { color: var(--color-on-dark-muted); }

/* ==================== CONTACT ==================== */
.contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info-card {
  background: var(--color-dark-2);
  color: var(--color-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
}
.contact-row { display: flex; gap: var(--space-4); align-items: flex-start; padding-block: var(--space-4); border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(202,166,116,0.16); color: var(--color-gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row a, .contact-row span.val { font-weight: 600; }
.contact-row a:hover { color: var(--color-gold); text-decoration: underline; }
.contact-row .lbl { font-size: 0.8rem; color: var(--color-on-dark-muted); margin-bottom: 4px; }
.social-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.social-row a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.social-row a:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-dark-2); }
.social-row a svg { width: 17px; height: 17px; }

.form-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-7); border: 1px solid var(--color-border); }
.form-row { display: grid; gap: var(--space-5); margin-bottom: var(--space-5); }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-gold-dark);
  box-shadow: 0 0 0 3px rgba(202,166,116,0.25);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--color-muted); margin-top: var(--space-4); }

/* ==================== CTA BAND ==================== */
.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin-top: var(--space-4); color: rgba(255,255,255,0.8); max-width: 560px; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ==================== FOOTER ==================== */
.footer { background: var(--color-dark-3); color: var(--color-on-dark-muted); padding-top: var(--space-9); }
.footer-top { display: grid; gap: var(--space-7); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 42px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: var(--space-5); font-family: var(--font-heading); }
.footer ul li { margin-bottom: var(--space-3); font-size: 0.9rem; }
.footer ul li a:hover { color: var(--color-gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; padding-block: var(--space-6); font-size: 0.82rem; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: var(--space-6);
  inset-inline-end: var(--space-5);
  z-index: 80;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 28px; height: 28px; color: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0), var(--shadow-lg); }
}

/* Page header (inner pages) */
.page-header {
  padding-top: 160px;
  padding-bottom: var(--space-8);
  background: linear-gradient(160deg, var(--color-dark-3), var(--color-dark-2));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header .breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: 0.85rem; color: var(--color-on-dark-muted); margin-bottom: var(--space-4); }
.page-header .breadcrumb a:hover { color: var(--color-gold); }
.page-header h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }

/* Utility */
.reveal { opacity: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.badge-row span {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-bg-alt); color: var(--color-primary); font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: var(--radius-full);
}
.badge-row span svg { width: 14px; height: 14px; flex-shrink: 0; }
.section-dark .badge-row span, .page-header .badge-row span { background: rgba(255,255,255,0.1); color: var(--color-on-dark); }
.divider { height: 1px; background: var(--color-border); margin-block: var(--space-8); }

/* ==================== TEAM ==================== */
.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin-inline: auto;
}
.team-photo img { width: 100%; height: auto; display: block; }
.team-body {
  max-width: 720px;
  margin: var(--space-6) auto 0;
  text-align: center;
  font-size: 1.02rem;
}

/* ==================== PROJECT DETAIL ==================== */
.project-detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 560px;
}
.project-detail-hero img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; transition: opacity 0.25s var(--ease-standard); }
.project-gallery-thumbs {
  display: flex; gap: var(--space-3); margin-top: var(--space-4);
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-block: 2px;
}
.project-gallery-thumbs::-webkit-scrollbar { display: none; }
.project-gallery-thumb {
  flex-shrink: 0; width: 96px; aspect-ratio: 4/3; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer;
  opacity: 0.65; transition: opacity 0.25s var(--ease-standard), border-color 0.25s var(--ease-standard);
}
.project-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-gallery-thumb:hover { opacity: 0.9; }
.project-gallery-thumb.active { opacity: 1; border-color: var(--color-gold-dark); }
.project-detail-grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 900px) { .project-detail-grid { grid-template-columns: 1.3fr 1fr; } }
.project-detail-facts { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.project-detail-facts .lbl { display: block; font-size: 0.8rem; color: var(--color-muted); margin-bottom: 4px; }
.project-detail-facts .val { font-weight: 600; font-family: var(--font-heading); }

.map-frame { display: block; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: box-shadow 0.3s, transform 0.3s; }
.map-frame:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Company intro video (About page) — single, larger click-to-play embed. */
.intro-video {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-dark-2);
  box-shadow: var(--shadow-lg);
}
.intro-video-lg { max-width: 1040px; }
.intro-video-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-standard); }
.intro-video:hover .intro-video-thumb { transform: scale(1.04); }
.intro-video-play {
  position: absolute; inset: 0; margin: auto;
  width: 72px; height: 72px;
  color: #fff;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.55));
  pointer-events: none;
  transition: transform 0.3s var(--ease-standard);
}
.intro-video:hover .intro-video-play { transform: scale(1.08); }
.intro-video iframe { width: 100%; height: 100%; border: 0; display: block; }

[dir="rtl"] .rtl-flip { transform: scaleX(-1); }
