/* =========================================
   عالم الفن والإبداع — Cinema.css
   Palette extracted from the logo:
   - Beige:   #E8DCC4 / #D9C8A8
   - Gold:    #C9A876 / #B8965E
   - Dark:    #1F3A2E / #14241C
   - Cream:   #F6EFE2
   ========================================= */

:root {
  --beige: #E8DCC4;
  --beige-2: #D9C8A8;
  --beige-3: #C9B58A;
  --cream: #F6EFE2;
  --gold: #C9A876;
  --gold-2: #B8965E;
  --gold-light: #E0C68A;
  --dark: #1F3A2E;
  --dark-2: #14241C;
  --dark-3: #0B1610;
  --ink: #2A2218;
  --white: #FBF7EE;

  --font-ar: 'Tajawal', 'Amiri', system-ui, sans-serif;
  --font-ar-serif: 'Amiri', serif;
  --font-en: 'Cormorant Garamond', serif;

  --container: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .25, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--dark); }

/* Custom Cursor */
.cursor, .cursor-follower {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s;
}
.cursor-follower {
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .25s;
  opacity: .7;
}
.cursor.is-link { width: 0; height: 0; }
.cursor-follower.is-link {
  width: 64px; height: 64px;
  background: rgba(201, 168, 118, 0.15);
  border-color: var(--gold-light);
}

@media (max-width: 900px) {
  .cursor, .cursor-follower { display: none; }
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============== PRELOADER ============== */
.preloader {
  position: fixed; inset: 0;
  background: linear-gradient(180deg, var(--dark-3), var(--dark-2));
  z-index: 99999;
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done {
  opacity: 0; visibility: hidden;
}
.preloader-inner {
  text-align: center; color: var(--cream);
}
.preloader-mark {
  position: relative;
  width: 130px; height: 130px;
  margin: 0 auto 30px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.preloader-mark img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 12px 40px rgba(201, 168, 118, .4));
  animation: preSpin 2.4s ease-in-out infinite;
}
.preloader-glow {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--gold), transparent 30%);
  animation: preGlow 1.8s linear infinite;
  filter: blur(6px);
}
@keyframes preSpin { 50% { transform: scale(1.06); } }
@keyframes preGlow { to { transform: rotate(360deg); } }

.preloader-line {
  width: 220px; height: 2px;
  margin: 0 auto 16px;
  background: rgba(201, 168, 118, .15);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-line span {
  display: block; height: 100%; width: 30%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: preLine 1.6s infinite;
}
@keyframes preLine { to { transform: translateX(330%); } }
.preloader-text {
  letter-spacing: .5px;
  font-weight: 500;
  color: var(--gold-light);
}

/* ============== HEADER ============== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(11, 22, 16, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--cream);
}
.brand-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  padding: 2px;
  background: var(--beige);
  transition: transform .4s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(8deg) scale(1.05); }

.brand-text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .5px;
}
.brand-sub {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  font-weight: 400;
}

.nav { display: flex; gap: 4px; }
.nav-link {
  padding: 10px 16px;
  font-size: 14.5px;
  color: var(--cream);
  position: relative;
  transition: color .3s var(--ease);
  font-weight: 500;
}
.nav-link::before {
  content: '';
  position: absolute; bottom: 4px; right: 16px; left: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::before, .nav-link.active::before { transform: scaleX(1); }

.menu-btn {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  display: block; height: 2px;
  background: var(--cream);
  margin: 6px auto;
  width: 26px;
  transition: transform .3s var(--ease), opacity .3s;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: absolute; top: 100%; right: 16px; left: 16px;
  background: rgba(11, 22, 16, .97);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 168, 118, .25);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  color: var(--cream);
  border-radius: 8px;
  font-size: 15px;
  transition: background .3s;
}
.mobile-menu a:hover { background: rgba(201, 168, 118, .12); }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .brand-text { display: none; }
  .brand-logo { width: 46px; height: 46px; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark-2);
  color: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, #0B1610 0%, #1F3A2E 50%, #14241C 100%),
    var(--dark-2);
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1616594039964-ae9021a400a0?w=1920&q=80');
  background-size: cover; background-position: center;
  opacity: .18;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12); } }

.hero-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 118, .14), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 168, 118, .08), transparent 50%);
  pointer-events: none;
}
.hero-spotlight {
  position: absolute;
  top: -20%; left: 50%;
  width: 90%; height: 140%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(201, 168, 118, .22) 0%, transparent 60%);
  filter: blur(40px);
  animation: spotMove 10s ease-in-out infinite alternate;
}
@keyframes spotMove { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-45%) translateY(40px); } }

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 110px 0 80px;
}

.hero-logo-wrap {
  position: relative;
  width: 200px; height: 200px;
  margin: 0 auto 36px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.hero-logo {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  padding: 4px;
  background: var(--beige);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-logo-glow {
  position: absolute; inset: -15px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--gold), transparent 50%);
  animation: spin 8s linear infinite;
  filter: blur(10px);
  opacity: .6;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -.5px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: lineUp 1.2s var(--ease) forwards;
}
.hero-title .line-1 { animation-delay: .4s; }
.hero-title .line-2 { animation-delay: .8s; }
.hero-title em {
  color: var(--gold-light);
  font-style: normal;
  font-family: var(--font-ar-serif);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute; bottom: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: lineGrow 1.4s var(--ease) 1.6s forwards;
  transform: scaleX(0); transform-origin: right;
}
@keyframes lineUp { to { opacity: 1; transform: translateY(0); } }
@keyframes lineGrow { to { transform: scaleX(1); } }

.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(246, 239, 226, .82);
  max-width: 640px;
  margin: 0 auto 38px;
  font-weight: 400;
}

.hero-actions {
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
}
.stat {
  text-align: center;
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--gold);
  font-family: var(--font-ar);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(246, 239, 226, .6);
  margin-top: 6px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 2px;
  color: rgba(246, 239, 226, .55);
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: rgba(201, 168, 118, .25);
  position: relative; overflow: hidden;
}
.hero-scroll-line span {
  position: absolute; top: 0; left: 0; width: 100%; height: 30%;
  background: var(--gold-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--dark-2);
  box-shadow: 0 12px 36px rgba(201, 168, 118, .35);
}
.btn-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4), transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(201, 168, 118, .5); }
.btn-gold:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--gold);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--dark-2);
  transform: translateY(-4px);
}

.btn-lg { padding: 20px 42px; font-size: 16px; }
.btn-sm { padding: 12px 22px; font-size: 13.5px; }

/* ============== SECTION BASE ============== */
.section {
  padding: 120px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 4px;
  color: var(--gold-2);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
  position: relative;
  padding: 0 30px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  position: absolute; top: 50%;
  width: 20px; height: 1px;
  background: var(--gold);
}
.eyebrow::before { right: 0; }
.eyebrow::after { left: 0; }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.section-title em {
  font-style: normal;
  font-family: var(--font-ar-serif);
  color: var(--gold-2);
}
.section-desc {
  color: rgba(42, 34, 24, .7);
  font-size: 17px;
  margin-bottom: 24px;
}

.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 22px 0 0;
}
.ornament span {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-mark {
  color: var(--gold);
  font-size: 18px;
  animation: spinSlow 8s linear infinite;
  display: inline-block;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ============== ABOUT ============== */
.about {
  background: linear-gradient(180deg, var(--cream) 0%, var(--beige) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-text .lead {
  font-size: 21px;
  line-height: 1.9;
  color: var(--dark);
  margin-bottom: 18px;
}
.about-text strong { color: var(--gold-2); font-weight: 800; }
.about-text p {
  font-size: 16.5px;
  color: rgba(42, 34, 24, .78);
  margin-bottom: 14px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 118, .3);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(201, 168, 118, .2), transparent 70%);
  transition: width .4s, height .4s;
}
.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(31, 58, 46, .12);
  border-color: var(--gold);
}
.feature:hover::before { width: 140px; height: 140px; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  display: grid; place-items: center;
  color: var(--dark-2);
  margin-bottom: 14px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature p {
  font-size: 13.5px;
  color: rgba(42, 34, 24, .7);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .about-features { grid-template-columns: 1fr; }
}

/* ============== CATEGORIES ============== */
.categories {
  background: var(--dark-2);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.categories::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(201, 168, 118, .08), transparent 70%);
}
.categories .section-title { color: var(--cream); }
.categories .section-desc { color: rgba(246, 239, 226, .7); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .categories-grid { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-3);
}
.cat-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease-soft), filter .6s;
  filter: grayscale(20%) brightness(.85);
}
.cat-card:hover .cat-img {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1);
}
.cat-shine {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.18), transparent 60%);
  transform: translateX(-100%);
  transition: transform .9s var(--ease);
  z-index: 2;
}
.cat-card:hover .cat-shine { transform: translateX(100%); }

.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11, 22, 16, .95) 0%, rgba(11, 22, 16, .25) 55%, transparent 100%);
  z-index: 1;
}

.cat-content {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 28px 24px;
  z-index: 3;
  transform: translateY(20px);
  transition: transform .5s var(--ease);
}
.cat-card:hover .cat-content { transform: translateY(0); }

.cat-content h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 4px;
}
.cat-content p {
  font-size: 13.5px;
  color: rgba(246, 239, 226, .75);
  margin-bottom: 16px;
}
.cat-link {
  display: inline-block;
  font-size: 13.5px;
  color: var(--gold-light);
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease) .05s, transform .5s var(--ease) .05s, color .3s;
}
.cat-card:hover .cat-link {
  opacity: 1; transform: translateY(0);
}
.cat-link:hover { color: var(--white); }

/* ============== PARALLAX ============== */
.parallax {
  position: relative;
  min-height: 70vh;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--dark-3);
  color: var(--cream);
  text-align: center;
}
.parallax-bg {
  position: absolute; inset: -10% 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  filter: brightness(.45);
  transform: scale(1.05);
  transition: transform .5s ease-out;
}
@media (max-width: 768px) {
  .parallax-bg { background-attachment: scroll; }
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 58, 46, .4), rgba(11, 22, 16, .7));
}
.parallax-content {
  position: relative; z-index: 2;
  padding: 100px 28px;
}
.parallax-content h2 {
  font-family: var(--font-ar-serif);
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.5px;
}
.parallax-content h2 span {
  color: var(--gold-light);
  font-style: italic;
}
.signature {
  margin-top: 30px;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--gold);
  font-family: var(--font-ar-serif);
}

/* ============== GALLERY ============== */
.gallery {
  background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gal-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-2);
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft), filter .6s;
  filter: brightness(.85);
}
.gal-item:hover img {
  transform: scale(1.1);
  filter: brightness(1);
}
.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 2; }

.gal-cap {
  position: absolute;
  bottom: 14px; right: 14px;
  padding: 8px 16px;
  background: rgba(11, 22, 16, .82);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 118, .35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-item:hover .gal-cap {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-tall { grid-row: auto; }
  .gal-wide { grid-column: auto; }
}

.gallery-cta {
  margin-top: 50px;
  text-align: center;
}

/* ============== CUSTOM / PROCESS ============== */
.custom {
  background: var(--cream);
  position: relative;
}
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 30px;
  position: relative;
}
.proc-step {
  position: relative;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(201, 168, 118, .25);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.proc-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(31, 58, 46, .12);
  border-color: var(--gold);
}
.proc-num {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-ar-serif);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.proc-line {
  width: 36px; height: 2px;
  background: var(--gold);
  margin: 14px 0 18px;
}
.proc-step h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.proc-step p {
  font-size: 13.5px;
  color: rgba(42, 34, 24, .7);
}

@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }

.custom-cta {
  margin-top: 56px;
  text-align: center;
}

/* ============== BRANCHES ============== */
.branches {
  background: linear-gradient(180deg, var(--cream) 0%, var(--beige) 100%);
}
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 780px) { .branches-grid { grid-template-columns: 1fr; } }

.branch-card {
  position: relative;
  background: var(--dark-2);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 36px 32px 30px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(31, 58, 46, .25);
}
.branch-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 168, 118, .12), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(201, 168, 118, .06), transparent 50%);
  z-index: -1;
}
.branch-flag {
  position: absolute;
  top: 22px; left: 22px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--dark-2);
  font-size: 12px;
  font-weight: 800;
  border-radius: 50px;
  letter-spacing: 1px;
}
.branch-city {
  margin-bottom: 24px;
}
.branch-num {
  font-size: 36px;
  font-family: var(--font-ar-serif);
  color: var(--gold);
  font-weight: 700;
}
.branch-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 4px 0;
  letter-spacing: .5px;
}
.branch-loc {
  font-size: 15px;
  color: rgba(246, 239, 226, .75);
}

.branch-phones {
  list-style: none;
  margin-bottom: 26px;
}
.branch-phones li { margin-bottom: 10px; }
.branch-phones a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(201, 168, 118, .15);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: background .3s, border-color .3s, transform .3s;
}
.branch-phones a:hover {
  background: rgba(201, 168, 118, .1);
  border-color: var(--gold);
  transform: translateX(-4px);
}
.branch-phones a svg {
  width: 18px; height: 18px;
  color: var(--gold);
}

.branch-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.branch-actions .btn { flex: 1 1 calc(50% - 5px); min-width: 0; }
.branch-actions .btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============== CONTACT ============== */
.contact {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info {
  display: flex; flex-direction: column; gap: 16px;
}
.contact-card {
  display: flex; gap: 18px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 118, .25);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .35s var(--ease), border-color .35s;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.contact-icon {
  flex: 0 0 50px;
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--dark-2);
  display: grid; place-items: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--dark);
}
.contact-card a {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 15px;
  transition: color .2s;
}
.contact-card a:hover { color: var(--dark); }
.contact-card p {
  font-size: 14.5px;
  color: rgba(42, 34, 24, .7);
}

.contact-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(201, 168, 118, .25);
  background: var(--dark-2);
  box-shadow: 0 20px 50px rgba(31, 58, 46, .12);
}
.map-frame { position: relative; width: 100%; height: 100%; }
.contact-map iframe {
  width: 100%; height: 100%; min-height: 480px; border: 0;
  filter: saturate(.85) contrast(1.05);
}
.map-overlay {
  position: absolute;
  bottom: 18px; right: 18px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
  max-width: calc(100% - 36px);
}
.map-overlay a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--dark-2);
  border-radius: 50px;
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(201, 168, 118, .4);
  transition: transform .3s;
}
.map-overlay a:hover { transform: translateY(-3px); }
.map-overlay a svg { width: 16px; height: 16px; flex-shrink: 0; }
.map-overlay-alt {
  background: rgba(11, 22, 16, .9) !important;
  color: var(--gold-light) !important;
  border: 1px solid var(--gold);
}

/* ============== FOOTER ============== */
.footer {
  background: var(--dark-3);
  color: var(--cream);
  padding: 70px 0 30px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
.footer-brand {
  display: flex; gap: 16px; align-items: center;
}
.footer-brand img {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 2px;
  background: var(--beige);
  object-fit: cover;
}
.footer-brand h3 { font-size: 18px; margin-bottom: 2px; }
.footer-brand p { font-size: 13px; color: var(--gold-light); }

.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
@media (max-width: 540px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-size: 14px;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(246, 239, 226, .7);
  padding: 6px 0;
  transition: color .3s, transform .3s;
}
.footer-col a:hover {
  color: var(--gold);
  transform: translateX(-4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 168, 118, .15);
  font-size: 13px;
  color: rgba(246, 239, 226, .5);
}
.footer-ornament {
  margin-top: 12px;
  color: var(--gold);
  letter-spacing: 8px;
}

/* ============== FAB ============== */
.fab {
  position: fixed;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 50;
  transition: transform .35s var(--ease), box-shadow .35s;
  border: 0;
  cursor: pointer;
}
.fab svg { width: 26px; height: 26px; }
.fab-whatsapp {
  bottom: 22px; right: 22px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  flex-direction: column;
  display: flex;
  align-items: center;
}
.fab-whatsapp span {
  position: absolute;
  right: 70px;
  background: var(--dark-2);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity .35s, transform .35s;
  border: 1px solid var(--gold);
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 40px rgba(37, 211, 102, .55);
}
.fab-whatsapp:hover span {
  opacity: 1; transform: translateX(0);
}
.fab-call {
  bottom: 22px; left: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--dark-2);
  box-shadow: 0 12px 30px rgba(201, 168, 118, .5);
  animation: callPulse 2.4s ease-out infinite;
}
.fab-call:hover {
  transform: scale(1.1);
  animation: none;
}
@keyframes callPulse {
  0% { box-shadow: 0 12px 30px rgba(201, 168, 118, .5), 0 0 0 0 rgba(201, 168, 118, .55); }
  70% { box-shadow: 0 12px 30px rgba(201, 168, 118, .5), 0 0 0 22px rgba(201, 168, 118, 0); }
  100% { box-shadow: 0 12px 30px rgba(201, 168, 118, .5), 0 0 0 0 rgba(201, 168, 118, 0); }
}

/* Facebook FAB */
.fab-facebook-wrap {
  position: fixed;
  bottom: 92px; left: 22px;
  z-index: 50;
}
.fab-facebook {
  position: relative;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #1877F2, #0E5FBC);
  color: #fff;
  box-shadow: 0 10px 26px rgba(24, 119, 242, .45);
}
.fab-facebook:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 36px rgba(24, 119, 242, .6);
}
.fab-facebook svg { width: 24px; height: 24px; }

.fab-fb-menu {
  position: absolute;
  bottom: 60px; left: 0;
  background: rgba(11, 22, 16, .96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 168, 118, .25);
  border-radius: 14px;
  padding: 8px;
  min-width: 230px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  animation: fbMenuIn .25s var(--ease);
}
.fab-fb-menu.is-open { display: flex; }
@keyframes fbMenuIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fab-fb-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  color: var(--cream);
  border-radius: 10px;
  font-size: 14px;
  transition: background .25s;
}
.fab-fb-menu a:hover { background: rgba(24, 119, 242, .18); }
.fb-flag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--gold);
  color: var(--dark-2);
  font-size: 11px;
  font-weight: 800;
  border-radius: 50px;
}
.fb-name { font-weight: 600; }

/* Contact card Facebook variant */
.contact-icon-fb {
  background: linear-gradient(135deg, #1877F2, #0E5FBC) !important;
  color: #fff !important;
}
.contact-icon-fb svg { width: 22px; height: 22px; }

/* Footer facebook */
.footer-fb-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.footer-socials {
  display: flex; justify-content: center; gap: 14px;
  margin: 16px 0 10px;
}
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(201, 168, 118, .25);
  border-radius: 50%;
  color: var(--cream);
  transition: background .3s, transform .3s, color .3s;
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
  transform: translateY(-3px);
}

/* ============== REVEAL ANIMATIONS ============== */
[data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Marquee (footer ornament alternative) */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
