/* ===== VARIABLES ===== */
:root {
  --primary: #C9A227;
  --primary-dark: #a8871e;
  --bg: #0a0a0f;
  --bg-card: #111118;
  --text: #f0f0f0;
  --text-muted: rgba(240,240,240,0.55);
  --border: rgba(255,255,255,0.07);
  --white: #ffffff;
  --radius: 4px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
body.lang-en {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  direction: ltr;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center-text { text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  padding: 14px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(12px);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo Image */
.logo-img-wrap {
  width: 150px;
  height: 60px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
.nav-links button {
  font-size: 13px; font-weight: 500; color: rgba(240,240,240,0.8);
  transition: color 0.2s; font-family: inherit; white-space: nowrap;
}
.nav-links button:hover { color: var(--primary); }
.btn-cta {
  background: var(--primary); color: #000 !important;
  font-weight: 700; padding: 8px 18px;
  font-size: 13px; transition: background 0.2s !important;
}
.btn-cta:hover { background: var(--primary-dark) !important; }

/* Lang Toggle */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  letter-spacing: 1px;
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.lang-toggle:hover {
  background: rgba(201,162,39,0.1) !important;
  border-color: var(--primary) !important;
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-right-mobile { display: none; align-items: center; gap: 12px; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,15,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-menu.open { display: flex; }
.close-menu {
  position: absolute; top: 24px; left: 24px;
  font-size: 28px; color: rgba(240,240,240,0.6);
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.close-menu:hover { color: var(--text); }
.mobile-links { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-links button {
  font-size: 24px; font-weight: 700; color: rgba(240,240,240,0.9);
  transition: color 0.2s; font-family: inherit; background: none; border: none; cursor: pointer;
}
.mobile-links button:hover { color: var(--primary); }
.mobile-links .btn-cta {
  font-size: 16px; padding: 12px 32px;
  background: var(--primary); color: #000 !important;
  font-weight: 700; margin-top: 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to left, rgba(10,10,15,0.4), rgba(10,10,15,0.8), rgba(10,10,15,0.97));
}
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  padding-top: 40px; padding-bottom: 60px;
}
.hero-label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-label span:not(.line) { color: var(--primary); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; }
.line { display: block; width: 32px; height: 2px; background: var(--primary); }
.hero-title {
  font-size: clamp(40px, 6vw, 80px); font-weight: 900;
  color: var(--white); line-height: 1.05; margin-bottom: 16px;
}
.hero-subtitle { font-size: 18px; color: rgba(240,240,240,0.7); margin-bottom: 20px; font-weight: 400; }
.hero-quote {
  font-size: 15px; color: rgba(240,240,240,0.6); font-style: italic;
  border-right: 3px solid var(--primary); padding-right: 16px; margin-bottom: 32px;
}
body.lang-en .hero-quote { border-right: none; border-left: 3px solid var(--primary); padding-right: 0; padding-left: 16px; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-size: 40px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat span:not(.stat-num):not(.stat-label) { font-size: 24px; color: var(--primary); font-weight: 900; }
.stat-label { font-size: 12px; color: var(--text-muted); text-align: center; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: #000;
  font-weight: 700; padding: 12px 28px; font-size: 14px;
  font-family: inherit; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; text-align: center; }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(240,240,240,0.3); padding: 12px 28px;
  font-size: 14px; font-family: inherit; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Hero photo */
.hero-photo { position: relative; display: flex; justify-content: center; align-items: center; }
.photo-glow {
  position: absolute; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,162,39,0.25), transparent 70%);
  border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.photo-frame {
  position: relative; width: 280px; height: 280px; border-radius: 50%;
  overflow: hidden; border: 4px solid var(--primary);
  box-shadow: 0 0 40px rgba(201,162,39,0.3);
  z-index: 1;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-tax-img-frame {
  position: relative; width: 420px; height: 320px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid rgba(201,162,39,0.4);
  box-shadow: 0 0 60px rgba(201,162,39,0.2), 0 20px 60px rgba(0,0,0,0.5);
  z-index: 1;
}
.hero-tax-img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.bg-dark { background: var(--bg); }
.bg-card { background: var(--bg-card); }
.border-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header { margin-bottom: 56px; }
.section-label {
  display: flex; align-items: center; gap: 12px;
  color: var(--primary); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-label.center { justify-content: center; }
.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: var(--white); }
.section-title.center { text-align: center; }
.section-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; line-height: 1.8; }

/* ===== TWO-COL ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* ===== ABOUT ===== */
.about-facts { display: flex; gap: 24px; margin-top: 32px; }
.fact { text-align: center; }
.fact-num { font-size: 36px; font-weight: 900; color: var(--primary); }
.fact-label { font-size: 12px; color: var(--text-muted); }
.about-photo-wrap { position: relative; }
.about-photo-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle at center, rgba(201,162,39,0.15), transparent 70%);
  border-radius: 8px;
}
.about-photo {
  width: 100%; max-width: 420px; margin: 0 auto;
  border-radius: 2px; border: 1px solid var(--border);
  position: relative; z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===== VISION ===== */
.vision-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.vision-card {
  background: var(--bg); border: 1px solid var(--border); padding: 32px 24px;
  transition: border-color 0.3s;
}
.vision-card:hover { border-color: rgba(201,162,39,0.4); }
.vision-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(201,162,39,0.1); border: 1px solid rgba(201,162,39,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vision-icon svg { width: 20px; height: 20px; stroke: var(--primary); }
.vision-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.vision-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; transition: border-color 0.3s, transform 0.3s;
  border-radius: var(--radius);
}
.service-card:hover { border-color: rgba(201,162,39,0.4); transform: translateY(-4px); }
.service-img-wrap { position: relative; height: 200px; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-icon-badge {
  position: absolute; bottom: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
}
.service-icon-badge svg { width: 18px; height: 18px; stroke: #000; }
.service-body { padding: 20px; }
.service-body h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.service-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== OFFICE SECTION ===== */
.office-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.office-main-img { height: 100%; }
.office-img-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: border-color 0.3s, transform 0.3s;
}
.office-main-img .office-img-frame {
  height: 460px;
}
.office-img-frame:hover {
  border-color: rgba(201,162,39,0.4);
  transform: translateY(-3px);
}
.office-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.office-img-frame:hover img { transform: scale(1.03); }
.office-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9), transparent);
  padding: 32px 16px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(240,240,240,0.85);
  font-size: 13px;
  font-weight: 600;
}
.office-img-caption svg { stroke: var(--primary); flex-shrink: 0; }

.office-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.office-view-frame {
  height: 240px;
}
.office-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s;
}
.office-feature-card:hover { border-color: rgba(201,162,39,0.3); }
.office-feature-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,162,39,0.1); border: 1px solid rgba(201,162,39,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.office-feature-icon svg { width: 20px; height: 20px; stroke: var(--primary); }
.office-feature-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.office-feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== CAREER TIMELINE ===== */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 2px;
  background: var(--border);
}
body.lang-en .timeline::before { right: auto; left: 0; }
.timeline-item { display: flex; gap: 24px; padding-bottom: 32px; position: relative; }
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--primary); background: var(--bg);
  flex-shrink: 0; margin-top: 6px; position: relative; z-index: 1;
}
.timeline-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 20px 24px; flex: 1;
  transition: border-color 0.3s;
}
.timeline-card:hover { border-color: rgba(201,162,39,0.3); }
.timeline-year { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.timeline-card h4 { color: var(--white); font-size: 16px; font-weight: 700; margin: 6px 0 4px; }
.timeline-org { color: var(--text-muted); font-size: 13px; }

/* ===== PUBLICATIONS ===== */
.pubs-layout { align-items: stretch; }
.pub-card { padding: 24px; border: 1px solid var(--border); margin-bottom: 16px; position: relative; overflow: hidden; }
.main-pub { background: var(--bg-card); }
.secondary-pub { background: rgba(255,255,255,0.02); }
.pub-border {
  position: absolute; top: 0; right: 0; width: 3px; height: 100%;
  background: var(--primary);
}
body.lang-en .pub-border { right: auto; left: 0; }
.pub-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pub-card h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pub-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.pub-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pub-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(240,240,240,0.8); }
.pub-features li.gold { color: var(--primary); font-weight: 600; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); flex-shrink: 0; }
.gold-dot { background: var(--primary) !important; }

/* Book Cover */
.book-wrap { position: relative; width: 260px; }
.book-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(201,162,39,0.2), transparent 70%);
  transform: translate(10px, 10px);
  border-radius: 8px;
}
.book-cover {
  position: relative; z-index: 1;
  display: flex; width: 260px; height: 360px;
  box-shadow: -8px 8px 30px rgba(0,0,0,0.7);
  border-radius: 0 4px 4px 0;
}
.book-spine {
  width: 18px; flex-shrink: 0;
  background: linear-gradient(to bottom, #8b6914, #c9a227, #8b6914);
  border-radius: 4px 0 0 4px;
}
.book-front {
  flex: 1;
  background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 50%, #1a1a2e 100%);
  border: 1px solid rgba(201,162,39,0.4);
  border-right: none;
  display: flex; flex-direction: column;
  padding: 20px 18px; overflow: hidden;
  position: relative;
}
.book-front::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 18px,
    rgba(201,162,39,0.03) 18px, rgba(201,162,39,0.03) 19px
  );
}
.book-header { margin-bottom: 12px; position: relative; z-index: 1; }
.book-publisher {
  font-size: 9px; color: rgba(201,162,39,0.7); text-align: center;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px;
}
.book-line { height: 1px; background: linear-gradient(to left, transparent, var(--primary), transparent); }
.book-title-area {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 12px 0; position: relative; z-index: 1;
}
.book-title-main {
  font-size: 24px; font-weight: 900; color: var(--primary);
  line-height: 1.2; margin-bottom: 8px;
}
.book-title-sub {
  font-size: 15px; font-weight: 600; color: rgba(240,240,240,0.85); line-height: 1.3;
}
.book-decoration { display: flex; justify-content: center; margin: 8px 0; position: relative; z-index: 1; }
.book-decoration svg { width: 80px; height: 30px; }
.book-footer {
  text-align: center; position: relative; z-index: 1;
  padding-top: 12px; border-top: 1px solid rgba(201,162,39,0.2);
}
.book-author { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.book-edition { font-size: 10px; color: rgba(240,240,240,0.5); }

/* ===== CLIENTS ===== */
.clients-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; max-width: 960px; margin: 0 auto;
}
.client-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 24px 16px; background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}
.client-card:hover {
  border-color: rgba(201,162,39,0.4);
  background: rgba(255,255,255,0.03);
}
.client-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(201,162,39,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s;
}
.client-card:hover .client-icon { border-color: rgba(201,162,39,0.5); }
.client-icon svg { width: 32px; height: 32px; }
.client-card p { font-size: 12px; color: var(--text-muted); text-align: center; line-height: 1.5; font-weight: 500; }
.client-card:hover p { color: var(--text); }

/* ===== CONTACT ===== */
.contact-layout { align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(201,162,39,0.1); border: 1px solid rgba(201,162,39,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-icon.whatsapp-icon { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.3); }
.contact-icon.whatsapp-icon svg { fill: #25d366; }
.contact-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-value:hover { color: var(--primary); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #000; font-weight: 700;
  padding: 12px 28px; font-size: 14px; font-family: inherit;
  transition: background 0.2s; cursor: pointer; border: none;
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1da851; }
.btn-whatsapp svg { fill: #000; flex-shrink: 0; }

.contact-form-wrap {
  background: var(--bg); border: 1px solid var(--border);
  padding: 36px; border-radius: var(--radius);
}
.contact-form-wrap h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: rgba(240,240,240,0.7); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 10px 14px; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color 0.2s; border-radius: 2px;
  direction: rtl;
}
body.lang-en .form-group input, body.lang-en .form-group textarea { direction: ltr; }
.form-group input[dir="ltr"], .form-group textarea[dir="ltr"] { direction: ltr; text-align: left; }
.form-group input:focus, .form-group textarea:focus { border-color: rgba(201,162,39,0.5); }
.form-group textarea { resize: vertical; }
.form-success {
  text-align: center; padding: 20px;
  color: var(--primary); font-weight: 700; font-size: 16px;
  border: 1px solid rgba(201,162,39,0.3);
  background: rgba(201,162,39,0.05);
}

/* ===== FOOTER ===== */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-wrap {
  width: 130px;
  height: 56px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s ease forwards; }
.fade-in.delay { animation-delay: 0.2s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .nav-links { gap: 14px; }
  .nav-links button { font-size: 12px; }
  .logo-img-wrap { width: 120px; height: 50px; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-right-mobile { display: flex; }
  .hamburger { display: flex; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .vision-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
  .office-gallery { grid-template-columns: 1fr; }
  .office-main-img .office-img-frame { height: 320px; }
  .office-side { flex-direction: row; flex-wrap: wrap; }
  .office-view-frame { height: 220px; flex: 1 1 100%; }
  .office-feature-card { flex: 1 1 calc(50% - 10px); }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .hero-stats { gap: 20px; }
  .two-col { grid-template-columns: 1fr; }
  .pubs-layout .col-img { order: -1; }
  .vision-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 64px 0; }
  .timeline::before { right: auto; left: 6px; }
  body.lang-en .timeline::before { right: auto; left: 6px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .office-feature-card { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .stat-num { font-size: 32px; }
  .book-wrap { width: 220px; }
  .book-cover { width: 220px; height: 300px; }
  .logo-img-wrap { width: 100px; height: 46px; }
  .footer-logo-wrap { width: 80px; height: 38px; }
}
