/* RAY — Akram Seif Production House */

@font-face {
  font-family: 'Accord';
  src: url('../brand/fonts/Accord-Regular.woff2') format('woff2'),
       url('../brand/fonts/Accord-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Accord';
  src: url('../brand/fonts/Accord-Bold.woff2') format('woff2'),
       url('../brand/fonts/Accord-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@import url('fonts-google.css');

:root {
  --accent: #EA6A1E;
  --accent-light: #F4843A;
  --accent-dark: #C45512;
  --navy: #1A1A1A;
  --navy-70: #333333;
  --navy-50: #666666;
  --navy-30: #999999;
  --bg: #0D0D0D;
  --bg-elevated: #141414;
  --bg-card: #1A1A1A;
  --white: #FFFFFF;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-10: rgba(255, 255, 255, 0.08);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-arabic: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Accord', 'Segoe UI', sans-serif;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

img, video {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 900;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-80);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-50);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-10);
}

.btn-ghost:hover {
  border-color: var(--white-50);
}

.header-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--white-10);
  padding: 0.2rem;
}

.language-switcher a {
  padding: 0.25rem 0.45rem;
  font-size: 0.75rem !important;
  line-height: 1;
}

.language-switcher a.active {
  background: var(--accent);
  color: var(--white) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  --hero-poster: url('../images/events/events-cisco/cover.jpg');
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.85) 0%,
    rgba(13, 13, 13, 0.5) 50%,
    rgba(13, 13, 13, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--white-80);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-50);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Stats */
.stats-bar {
  background: var(--bg-elevated);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--white-50);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--white-80);
  margin-bottom: 1rem;
}

.about-visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  padding: 1rem 1.5rem;
  text-align: center;
}

.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Services */
.services {
  background: var(--bg-elevated);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  padding: 2.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--white-80);
  margin-bottom: 1.25rem;
}

.service-card li {
  color: var(--white-50);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* Portfolio */
.portfolio-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid var(--white-10);
  color: var(--white-50);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(234, 106, 30, 0.08);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: none;
  padding: 0;
  text-align: left;
  color: inherit;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-cat {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.portfolio-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(234, 106, 30, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.portfolio-card-play::after {
  content: '';
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 3px;
}

.portfolio-card.has-video:hover .portfolio-card-play {
  opacity: 1;
}

.portfolio-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.9), transparent);
}

.portfolio-card:not(:hover) .portfolio-card-info .portfolio-card-cat,
.portfolio-card:not(:hover) .portfolio-card-info .portfolio-card-title {
  display: block;
}

.portfolio-card:hover .portfolio-card-info {
  opacity: 0;
}

/* Clients */
.clients {
  background: var(--bg-elevated);
  overflow: hidden;
}

.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.clients-track span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-30);
  white-space: nowrap;
  transition: color var(--transition);
}

.clients-track span:hover {
  color: var(--accent);
}

.clients-track .client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

.clients-track .client-logo img {
  height: 78px;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition), filter var(--transition);
}

.clients-track .client-logo:hover img {
  opacity: 1;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-lead {
  max-width: 640px;
  color: var(--white-60, rgba(255,255,255,0.6));
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0.75rem 0 2.5rem;
}

.proof-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  gap: 1.25rem;
}

.proof-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.proof-card,
.testimonial-grid blockquote,
.faq-grid details {
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  padding: 1.5rem;
}

.proof-card span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.proof-card h3,
.testimonial-grid cite,
.faq-grid summary {
  font-family: var(--font-display);
  font-weight: 700;
}

.proof-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.proof-card p,
.testimonial-grid p,
.faq-grid p {
  color: var(--white-80);
}

.testimonial-grid blockquote {
  margin: 0;
}

.testimonial-grid p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.testimonial-grid cite {
  color: var(--accent);
  font-style: normal;
  font-size: 0.9rem;
}

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

.faq-grid summary {
  cursor: pointer;
  color: var(--white);
  font-size: 1.05rem;
}

.faq-grid p {
  margin-top: 0.75rem;
}

.page-hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-text p {
  color: var(--white-80);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  transition: border-color var(--transition);
}

.contact-card:hover {
  border-color: var(--accent);
}

.contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.05rem;
  color: var(--white);
}

.contact-social {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.contact-social a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
  transition: color var(--transition);
}

.contact-social a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--white-10);
}

.footer-inner {
  display: block;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--white-50);
  margin: 0;
  max-width: 280px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 0.5rem;
}

.footer-list a {
  font-size: 0.875rem;
  color: var(--white-80);
  transition: color var(--transition);
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-address {
  font-size: 0.85rem;
  color: var(--white-50);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.footer-address:last-child {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--white-10);
  color: var(--white-80);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.footer-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--white-10);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  padding-inline-end: 4.5rem;
}

.footer-copy,
.footer-credit {
  font-size: 0.85rem;
  color: var(--white-50);
  margin: 0;
}

.footer-credit a {
  color: var(--accent);
  transition: opacity var(--transition);
}

.footer-credit a:hover {
  opacity: 0.8;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-panel {
  position: relative;
  width: min(960px, 94vw);
  max-height: 92vh;
  background: var(--bg-elevated);
  border: 1px solid var(--white-10);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}

.lightbox-close:hover {
  border-color: var(--accent);
}

.lightbox-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--white-10);
}

.lightbox-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lightbox-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.lightbox-body {
  overflow-y: auto;
  flex: 1;
}

.lightbox-media {
  position: relative;
  background: #000;
}

.lightbox-media img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(13, 13, 13, 0.8);
  border: 1px solid var(--white-10);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: border-color var(--transition);
  z-index: 5;
}

.lightbox-nav:hover {
  border-color: var(--accent);
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

.lightbox-video-wrap {
  padding: 1rem 1.5rem;
  background: #000;
}

.lightbox-video-wrap video {
  width: 100%;
  max-height: 50vh;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  overflow-x: auto;
  border-top: 1px solid var(--white-10);
}

.lightbox-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity var(--transition), border-color var(--transition);
  background: none;
  padding: 0;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb-video {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid var(--white-10);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

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

  .about-grid,
  .services-grid,
  .contact-grid,
  .proof-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4rem 0;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-inline-end: 0;
  }

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

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    margin-top: 0.5rem;
    display: none;
  }

  .nav-item-has-dropdown.open .nav-dropdown {
    display: block;
  }
}

/* Inner pages */
.page-main {
  padding-top: var(--header-h);
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 3rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.55) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--white-80);
  max-width: 640px;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--white-50);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span:last-child {
  color: var(--accent);
}

/* Specialty cards */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.specialty-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.specialty-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.specialty-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.specialty-card-body {
  padding: 1.5rem;
}

.specialty-card-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.specialty-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
}

.specialty-card p {
  color: var(--white-80);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.specialty-card-count {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
}

/* Nav dropdown */
.nav-item-has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--bg-elevated);
  border: 1px solid var(--white-10);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 100;
  display: grid;
  gap: 0.75rem;
}

.nav-item-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-all {
  font-weight: 600;
  color: var(--accent) !important;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--white-10);
}

.nav-dropdown-group {
  display: grid;
  gap: 0.35rem;
}

.nav-dropdown-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-30);
  margin-bottom: 0.15rem;
}

.nav-dropdown a {
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: var(--white-80) !important;
}

.nav-dropdown a.active,
.nav-dropdown a:hover {
  color: var(--accent) !important;
}

.nav a.active {
  color: var(--accent);
}

/* CTA section */
.cta-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--white-10);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-inner p {
  color: var(--white-80);
  margin-bottom: 2rem;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.service-links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--white-10);
  color: var(--white-80);
  transition: all var(--transition);
}

.service-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-address {
  font-size: 0.9rem;
  color: var(--white-60);
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp-color, #25D366);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}

/* RTL language support */
[dir="rtl"] body {
  font-family: var(--font-arabic);
  text-align: right;
}

[dir="rtl"] .nav a,
[dir="rtl"] .btn,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .section-tag,
[dir="rtl"] .stat-label,
[dir="rtl"] .portfolio-card-cat,
[dir="rtl"] .specialty-card-tag,
[dir="rtl"] .page-hero-tag,
[dir="rtl"] .nav-dropdown-label,
[dir="rtl"] .contact-label,
[dir="rtl"] .service-links a,
[dir="rtl"] .articles-cluster-title {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .page-hero,
[dir="rtl"] .section-lead,
[dir="rtl"] .articles-hub-lead {
  text-align: right;
}

[dir="rtl"] .header-inner,
[dir="rtl"] .hero-actions,
[dir="rtl"] .portfolio-filters,
[dir="rtl"] .service-links,
[dir="rtl"] .contact-social,
[dir="rtl"] .footer-social {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav {
  direction: rtl;
}

[dir="rtl"] .nav-dropdown {
  text-align: right;
}

[dir="rtl"] .service-card li {
  padding-left: 0;
  padding-right: 1rem;
}

[dir="rtl"] .service-card li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .scroll-progress {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-inner,
[dir="rtl"] .footer-top {
  direction: rtl;
}

[dir="rtl"] .footer-col-brand,
[dir="rtl"] .footer-col-contact,
[dir="rtl"] .footer-col-locations,
[dir="rtl"] .footer-col-social {
  text-align: right;
}

[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  [dir="rtl"] .footer-col-brand,
  [dir="rtl"] .footer-col-contact,
  [dir="rtl"] .footer-col-locations,
  [dir="rtl"] .footer-col-social {
    text-align: center;
  }

  [dir="rtl"] .footer-bottom {
    flex-direction: column;
  }
}

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 1.25rem;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 5.5rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  [dir="rtl"] .whatsapp-float {
    right: auto;
    left: 1rem;
  }
}

/* Articles hub */
.articles-hub {
  padding: 4rem 0 6rem;
}

.articles-hub-header {
  margin-bottom: 3rem;
}

.articles-hub-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.articles-hub-lead {
  color: var(--white-60);
  max-width: 720px;
  line-height: 1.6;
}

.articles-cluster {
  margin-bottom: 3rem;
}

.articles-cluster-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.articles-cluster-count {
  font-size: 0.75rem;
  color: var(--white-50);
  border: 1px solid var(--white-10);
  padding: 0.15rem 0.5rem;
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.articles-list a {
  display: block;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--white-10);
  transition: border-color var(--transition);
  height: 100%;
}

.articles-list a:hover {
  border-color: var(--accent);
}

.articles-list h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.articles-list p {
  font-size: 0.875rem;
  color: var(--white-60);
  line-height: 1.5;
}

.article-single {
  padding: 3rem 0 5rem;
}

.article-single-header {
  max-width: 800px;
  margin-bottom: 2rem;
}

.article-single-meta {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.article-single-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.article-lang-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.article-lang-toggle a {
  padding: 0.4rem 1rem;
  border: 1px solid var(--white-10);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-lang-toggle a.active,
.article-lang-toggle a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-body {
  max-width: 800px;
  line-height: 1.75;
  color: var(--white-80);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--white);
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--white);
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
  margin: 1rem 0 1rem 1.5rem;
}

.article-body img {
  width: 100%;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
}

.portfolio-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
  padding: 3rem 1rem;
  color: var(--white-60);
}

.portfolio-empty p {
  max-width: 36rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.portfolio-empty .btn {
  margin-top: 1.5rem;
}

.services-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

  .hero-scroll-line {
    animation: none !important;
  }
}
