/* 
 * MASTER SOLTERA LIGHT THEME DESIGN SYSTEM — AMA GULF ELEVATORS (main.css)
 * 
 * Implements Ultra-Clean Apple/Scandi-Tech Light Theme, High-Contrast Editorial Typography,
 * Signature 48px/60px Rounded Section Containers, Floating Pill Navbar, Black Pill CTAs with Circle Arrows,
 * Swiss 12-Column Grid, Pure CSS Logical Properties (RTL/LTR Auto-Mirroring), and Responsive Design.
 * 
 * BRAND COLOR INTEGRATION:
 * Wisely applies AMA Gulf's signature logo colors (#281070 Royal Violet & #D82018 Crimson Red)
 * via dynamic hover gradients, deep architectural violet-dark backgrounds, glowing shadows,
 * and interactive micro-animations—without being overwhelming or boring.
 * 
 * Strictly Zero Bootstrap, Zero Tailwind, Zero jQuery. Pure Native Vanilla CSS.
 */

:root {
  /* Soltera Light Theme Color Tokens */
  --bg-void: #FFFFFF;          /* Pure White Master Background */
  --bg-surface: #F4F6F9;       /* Soft Architectural Surface Container (Soltera Signature Grey) */
  --bg-surface-hover: #ECEFF6; /* Elevated Surface Hover with Subtle Cool Tint */
  --bg-card: #FFFFFF;          /* Crisp White Cards */
  --bg-dark: #0F1117;          /* Luxury Dark Accent Container */
  --bg-glass: rgba(255, 255, 255, 0.92); /* Floating Navbar Glassmorphism */
  
  /* AMA GULF Exact Logo Brand Colors (#281070 & #D82018) */
  --brand-violet: #281070;     /* AMA Royal Violet Emblem Color */
  --brand-violet-dark: #190947;
  --brand-violet-light: #F0ECF9;
  
  --brand-red: #D82018;        /* AMA / FUJI Crimson Red */
  --brand-red-hover: #EE221A;
  --brand-red-light: #FDECEB;
  
  /* Brand Aliases for Legacy Component Compatibility */
  --brand-blue: var(--brand-violet);
  --brand-gold: var(--brand-red);
  
  /* Dynamic Brand Gradients for High-Energy Micro-Interactions */
  --brand-gradient: linear-gradient(135deg, #281070 0%, #D82018 100%);
  --brand-gradient-hover: linear-gradient(135deg, #34178C 0%, #F0281E 100%);
  --brand-gradient-dark: linear-gradient(135deg, #0F1117 0%, #1A0D42 55%, #14082B 100%);
  
  --text-primary: #0F1117;     /* High-Contrast Deep Black (Headings) */
  --text-secondary: #525B6C;   /* Clean Slate Grey (Body Text & Captions) */
  --text-muted: #8892A4;       /* Subtle Grey */
  --text-inverse: #FFFFFF;     /* White text on dark cards/buttons */
  
  --border-subtle: rgba(15, 17, 23, 0.06); /* Ultra-Crisp Precision Border */
  --border-active: rgba(40, 16, 112, 0.22); /* Brand Violet Tinted Active Border */
  
  /* Typography Stack */
  --font-sans: 'Outfit', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing Tokens & Vertical Rhythm */
  --py-hero: clamp(5rem, 10vw, 8rem);
  --py-section: clamp(6rem, 12vw, 10rem);
  --py-compact: clamp(4rem, 8vw, 6rem);
  
  --container-max: 1360px;
  --reading-max: 760px;
  
  /* Transition Physics */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- RESET & MASTER BASE LAYOUT --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-color: var(--bg-void);
  color: var(--text-primary);
}

/* Clean Accessibility Ring Tinted in Brand Red */
:focus-visible {
  outline: 2px solid var(--brand-red) !important;
  outline-offset: 2px !important;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  inline-start: 1rem;
  background: var(--brand-violet);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  z-index: 99999;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.3s var(--ease-out-expo);
  box-shadow: 0 10px 25px rgba(40, 16, 112, 0.3);
}
.skip-link:focus { top: 1rem; }

/* --- TYPOGRAPHY SOVEREIGNTY --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin-block-end: 1rem;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.025em; }

p {
  color: var(--text-secondary);
  text-wrap: pretty;
  margin-block-end: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.75;
}

[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] li {
  line-height: 1.85;
  letter-spacing: normal !important;
}

/* --- SWISS 12-COLUMN GRID & CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
}

.reading-cap { max-width: var(--reading-max); }

.py-hero { padding-block: var(--py-hero); }
.py-section { padding-block: var(--py-section); }
.py-compact { padding-block: var(--py-compact); }

/* --- FLOATING PILL NAVBAR (SOLTERA STYLE WITH BRAND FOCUS) --- */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: clamp(1rem, 4vw, 3rem);
  transition: all 0.3s var(--ease-out-expo);
}

.navbar {
  position: relative;
  z-index: 999;
  background: #FFFFFF;
  border: none;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 15px 40px rgba(40, 16, 112, 0.08);
  padding: 1rem 0.5rem 1rem 1.75rem;
  transition: all 0.4s var(--ease-out-expo);
  max-width: 1300px;
  margin-inline: auto;
}

[dir="rtl"] .navbar {
  padding: 1rem 1.75rem 1rem 0.5rem;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.mobile-drawer {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-violet);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
}

/* --- SOLTERA PILL BUTTONS WITH DYNAMIC BRAND GRADIENT HOVERS --- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand-violet);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 10px 8px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.35s var(--ease-out-expo);
  border: none;
  cursor: pointer;
  line-height: 1;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

[dir="rtl"] .btn-pill {
  padding: 8px 22px 8px 10px;
}

/* Dynamic Brand Gradient on Hover — The Wisely Applied Excitement! */
.btn-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-expo);
  z-index: -1;
}

.btn-pill:hover::before {
  opacity: 1;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216, 32, 24, 0.32);
}

.btn-pill .arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0F1117 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.35s var(--ease-out-expo);
  flex-shrink: 0;
}

.btn-pill:hover .arrow-circle {
  background: #FFFFFF;
  color: #0F1117 !important;
  transform: translateX(4px);
}
[dir="rtl"] .btn-pill:hover .arrow-circle {
  transform: translateX(-4px);
}

.btn-pill-outline {
  background: transparent !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(15, 17, 23, 0.15);
  padding: 8px 20px !important;
}
.btn-pill-outline:hover {
  background: var(--brand-violet-light) !important;
  color: var(--brand-violet) !important;
  border-color: rgba(40, 16, 112, 0.3);
  transform: translateY(-2px);
}
.btn-pill-outline .arrow-circle {
  display: none;
}

/* --- SOLTERA EXACT MATCH HERO BANNER --- */
.hero-container {
  padding: 0 clamp(1rem, 3vw, 2.5rem) 3rem;
}

.hero-banner {
  position: relative;
  background-color: var(--brand-violet);
  background-image: radial-gradient(circle at 80% 20%, rgba(216, 32, 24, 0.45) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(40, 16, 112, 0.6) 0%, transparent 60%),
                    url('../img/banner_1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 40px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(6rem, 12vw, 8rem) clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 4.5rem);
  box-shadow: 0 25px 60px rgba(40, 16, 112, 0.18);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(15, 17, 23, 0.1), rgba(15, 17, 23, 0.8));
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 15vw, 13rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  line-height: 0.8;
  z-index: 2;
}

.hero-content-grid {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  width: 100%;
}

.hero-text-box {
  flex: 1 1 600px;
  max-width: 800px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  margin-block-start: 1rem;
  max-width: 500px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-massive-title {
  color: #FFFFFF;
  margin-block-end: 0;
  text-shadow: 0 4px 25px rgba(0,0,0,0.4);
  line-height: 1.1;
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.smart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  backdrop-filter: blur(5px);
  margin-bottom: 0.4rem;
}

/* Soltera Horizontal Stat Cards */
.hero-stat-cards-horizontal {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
}

.hero-stat-card-modern {
  background: #FFFFFF;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  width: auto;
  min-width: 150px;
  max-width: 220px;
  border: none;
  transition: all 0.35s var(--ease-out-expo);
  text-align: left;
}

.hero-stat-card-modern.tall-card {
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  width: 220px;
}

.hero-stat-cover {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  background: #F8F9FC;
  margin-bottom: 0.75rem;
}

.hero-stat-text-wrapper {
  padding: 0 0.75rem;
}

[dir="rtl"] .hero-stat-card-modern {
  text-align: right;
}

.hero-stat-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F1117;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.hero-stat-lbl {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-watermark { display: none; }
  .hero-content-grid { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-text-box { flex: none; width: 100%; max-width: 100%; }
  .hero-stat-cards-horizontal { flex-wrap: wrap; width: 100%; }
  .hero-stat-card-modern { width: 100%; max-width: 350px; }
}

.hero-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-red);
  opacity: 0;
  transition: opacity 0.3s;
}

[dir="rtl"] .hero-stat-card::after {
  left: auto;
  right: 0;
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(40, 16, 112, 0.15);
  border-color: rgba(216, 32, 24, 0.3);
}

.hero-stat-card:hover::after {
  opacity: 1;
}

.hero-stat-img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
}

.hero-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-violet);
  line-height: 1;
  margin-block-end: 0.35rem;
}

.hero-stat-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- EDITORIAL TRACKING LABELS (WITH BRAND RED & VIOLET ACCENT) --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-violet);
  margin-block-end: 1rem;
}

/* --- SOLTERA ASYMMETRICAL GRIDS & SOFT GREY CARDS (WITH BRAND MICRO-INTERACTIONS) --- */
.soltera-grey-card {
  background: var(--bg-surface);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-out-expo);
  border: 1px solid rgba(40, 16, 112, 0.03);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.soltera-grey-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-expo);
}

.soltera-grey-card:hover {
  transform: translateY(-6px);
  background: #EBEFF7;
  box-shadow: 0 18px 40px rgba(40, 16, 112, 0.07);
  border-color: rgba(216, 32, 24, 0.15);
}

.soltera-grey-card:hover::before {
  opacity: 1;
}

.soltera-photo-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-surface);
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 15px 40px rgba(40, 16, 112, 0.1);
}

.soltera-photo-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.soltera-photo-card:hover img {
  transform: scale(1.05);
}

.soltera-photo-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(0deg, rgba(15,17,23,0.95) 0%, rgba(28,10,82,0.7) 60%, transparent 100%);
  width: 100%;
  padding: 3rem 2.5rem 2.5rem;
  color: #FFFFFF;
}

/* --- MASSIVE ROUNDED SURFACE CONTAINER (HOW WE WORK / SECTION CONTAINER) --- */
.surface-section {
  background: var(--bg-surface);
  border-radius: 48px;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 4.5rem);
  margin-block: 4rem;
  border: 1px solid rgba(40, 16, 112, 0.04);
}

.step-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(15, 17, 23, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(40, 16, 112, 0.08);
  border-color: rgba(216, 32, 24, 0.2);
}

/* Step Number Tinted with Brand Violet & Red on Hover */
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-violet);
  opacity: 0.15;
  line-height: 1;
  margin-block-end: 1rem;
  transition: all 0.35s var(--ease-out-expo);
}

.step-card:hover .step-num {
  color: var(--brand-red);
  opacity: 0.25;
  transform: scale(1.05) translateX(2px);
}
[dir="rtl"] .step-card:hover .step-num {
  transform: scale(1.05) translateX(-2px);
}

/* --- MASTER ARCHITECTURAL CONTACT DESK & QUOTATION FORM --- */
.desk-card {
  background: #FFFFFF;
  border: 1px solid rgba(40, 16, 112, 0.08);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.desk-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-violet);
  opacity: 0;
  transition: opacity 0.3s;
}
[dir="rtl"] .desk-card::after { left: auto; right: 0; }
.desk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(40, 16, 112, 0.12);
  border-color: rgba(40, 16, 112, 0.25);
}
.desk-card:hover::after { opacity: 1; }

.desk-card-wa::after { background: #25D366; }
.desk-card-wa:hover { border-color: rgba(37, 211, 102, 0.4); box-shadow: 0 20px 45px rgba(37, 211, 102, 0.12); }

.desk-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 1.5rem;
  transition: transform 0.3s var(--ease-out-expo);
}
.desk-card:hover .desk-icon-pill { transform: scale(1.08); }

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.quotation-form-box {
  background: #FFFFFF;
  border: 1px solid rgba(40, 16, 112, 0.1);
  border-radius: 40px;
  padding: 2rem 2.5rem;
  box-shadow: 0 30px 70px rgba(40, 16, 112, 0.08);
  position: relative;
}

.luxury-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(15, 17, 23, 0.08);
  background: #F8F9FC;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.25s var(--ease-out-expo);
}
.luxury-input:focus {
  outline: none !important;
  border-color: var(--brand-violet) !important;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(40, 16, 112, 0.08) !important;
}
.luxury-input::placeholder { color: #9AA3B2; font-weight: 400; }

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-block-end: 0.6rem;
}

.projects-track-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-block: 3rem 4rem;
  padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.projects-track-wrapper::-webkit-scrollbar {
  display: none;
}

.projects-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding-right: 2rem; /* Buffer space at the end */
}

.project-card {
  flex: 0 0 450px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-surface);
  box-shadow: 0 20px 40px rgba(40, 16, 112, 0.08);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  scroll-snap-align: center;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(40, 16, 112, 0.15);
}



@media (max-width: 768px) {
  .project-card { flex: 0 0 300px; }
  .projects-track-wrapper { padding-block: 2rem 3rem; }
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15,17,23,0.95) 0%, rgba(28,10,82,0.6) 60%, transparent 100%);
  padding: 2rem 1.75rem 1.5rem;
  color: #FFFFFF;
  transition: padding-bottom 0.3s var(--ease-out-expo);
}

.project-card:hover .project-overlay {
  padding-bottom: 1.85rem;
}

/* --- RESPONSIVE MOBILE ADJUSTMENTS --- */
.mobile-only { display: none; }
.desktop-only { display: flex; }

@media (max-width: 991px) {
  .mobile-only { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    color: var(--text-primary); 
    width: 48px;
    height: 48px;
  }
  .desktop-only { display: none !important; }
  .hero-content-grid, .grid-12 {
    grid-template-columns: 1fr;
  }
  
  .hero-container {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-banner {
    min-height: auto;
    padding: 8rem 1.5rem 3rem;
    border-radius: 0 0 28px 28px;
  }
  
  .hero-stat-cards {
    align-items: flex-start;
  }
  
  /* Premium Mobile Drawer */
  .mobile-drawer {
    position: fixed;
    top: 0; left: 0; width: 100%; 
    height: 100vh; /* Fallback */
    height: 100dvh; /* Dynamic viewport height fixes iOS Safari bottom bar clipping */
    overflow-y: auto;
    background: #FFFFFF;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.25rem 1rem;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .mobile-drawer.drawer-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .drawer-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -12px; /* Pull to edge */
  }
  [dir="rtl"] .drawer-close { margin-right: 0; margin-left: -12px; }

  .mobile-drawer-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .mobile-nav-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .mobile-nav-link {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .mobile-drawer.drawer-open .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
  }
  
  .mobile-drawer.drawer-open .mobile-nav-links li:nth-child(1) .mobile-nav-link { transition-delay: 0.1s; }
  .mobile-drawer.drawer-open .mobile-nav-links li:nth-child(2) .mobile-nav-link { transition-delay: 0.15s; }
  .mobile-drawer.drawer-open .mobile-nav-links li:nth-child(3) .mobile-nav-link { transition-delay: 0.2s; }
  .mobile-drawer.drawer-open .mobile-nav-links li:nth-child(4) .mobile-nav-link { transition-delay: 0.25s; }

  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  }
  
  .mobile-drawer.drawer-open .mobile-drawer-footer {
    transform: translateY(0);
    opacity: 1;
  }
  
  .surface-section {
    border-radius: 32px;
    padding: 3rem 1.5rem;
  }
  
  .navbar-wrapper {
    top: 0;
    padding-inline: 0;
  }
  .navbar {
    border-radius: 0 0 24px 24px;
    padding: 0.8rem 1rem;
  }
  [dir="rtl"] .navbar {
    padding: 0.8rem 1rem;
  }
}

/* --- ENTERPRISE PRINT & PDF EXPORT SOVEREIGNTY (@media print) --- */
@media print {
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    animation: none !important;
    transition: none !important;
  }
  body { background: #FFFFFF !important; color: #0F1117 !important; }
  .navbar-wrapper, .skip-link { display: none !important; }
  .hero-banner, .surface-section, .soltera-grey-card, .step-card {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
}

/* --- SCROLL REVEAL MICRO-ANIMATIONS (IntersectionObserver) --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-grid > *:nth-child(1) { transition-delay: 50ms; }
.stagger-grid > *:nth-child(2) { transition-delay: 150ms; }
.stagger-grid > *:nth-child(3) { transition-delay: 250ms; }
.stagger-grid > *:nth-child(4) { transition-delay: 350ms; }

/* --- MILLION DOLLAR CREATIVE LAYOUT CLASSES --- */

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px rgba(40, 16, 112, 0.05);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.glass-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(40, 16, 112, 0.08);
}
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* Giant Background Numbers */
.giant-bg-number {
  position: absolute;
  font-size: clamp(10rem, 30vw, 25rem);
  font-weight: 900;
  color: rgba(40, 16, 112, 0.02);
  line-height: 0.75;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

/* Editorial Overlap Wrapper */
.editorial-overlap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.editorial-overlap-main {
  width: 80%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}
.editorial-overlap-sec {
  position: absolute;
  bottom: -15%;
  left: 0;
  width: 50%;
  border-radius: 24px;
  border: 8px solid #FFFFFF;
  box-shadow: 0 30px 60px rgba(40, 16, 112, 0.15);
  z-index: 2;
  overflow: hidden;
}
[dir="rtl"] .editorial-overlap {
  justify-content: flex-start;
}
[dir="rtl"] .editorial-overlap-sec {
  left: auto;
  right: 0;
}

/* Luxury Catalog Card */
.catalog-luxury-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  aspect-ratio: 3/4;
  flex: 1 1 320px;
  max-width: 380px;
}
.catalog-luxury-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(40, 16, 112, 0.15);
}
.catalog-luxury-card .clc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.catalog-luxury-card:hover .clc-img {
  transform: scale(1.08);
}
.catalog-luxury-card .clc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,17,23,0.95) 0%, rgba(15,17,23,0.5) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2rem;
  transition: background 0.6s;
}
.catalog-luxury-card:hover .clc-overlay {
  background: linear-gradient(to top, rgba(15,17,23,0.98) 0%, rgba(15,17,23,0.7) 60%, rgba(15,17,23,0.2) 100%);
}
.catalog-luxury-card .clc-title {
  color: #fff;
  font-size: 1.6rem;
  margin-block-end: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.catalog-luxury-card .clc-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.05s;
}
.catalog-luxury-card:hover .clc-title,
.catalog-luxury-card:hover .clc-desc {
  transform: translateY(0);
  opacity: 1;
}
.catalog-luxury-card .clc-specs {
  display: flex;
  gap: 1.5rem;
  margin-block-start: 1.5rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.1s;
}
.catalog-luxury-card:hover .clc-specs {
  transform: translateY(0);
  opacity: 1;
}

/* Magnetic Hover Card (Contact) */
.magnetic-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(40,16,112,0.06);
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.magnetic-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(40, 16, 112, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.magnetic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(40,16,112,0.12);
  border-color: rgba(40,16,112,0.15);
}
.magnetic-card:hover::before {
  opacity: 1;
}

/* Bespoke Masonry Feature Block */
.masonry-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.masonry-feature-card {
  background: var(--bg-surface);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.masonry-feature-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border-color: rgba(40,16,112,0.15);
}
.masonry-feature-card .mf-num {
  position: absolute;
  top: -1rem;
  right: -1rem;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(40,16,112,0.03);
  line-height: 1;
  transition: color 0.4s;
}
[dir="rtl"] .masonry-feature-card .mf-num {
  right: auto;
  left: -1rem;
}
.masonry-feature-card:hover .mf-num {
  color: rgba(40,16,112,0.06);
}

/* --- ABOUT US REDESIGN (BENTO, CURVED SECTIONS, TEAM) --- */
.about-curve-section {
  background: var(--brand-violet-light);
  border-radius: 120px 120px 0 0;
  padding: 8rem 0;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .about-curve-section { border-radius: 60px 60px 0 0; padding: 5rem 0; }
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
@media (max-width: 900px) {
  .commitment-grid { grid-template-columns: 1fr; }
}

.commitment-card {
  background: #EBE6F5; /* Matches UI light purple */
  border-radius: 24px;
  padding: 3rem 2.5rem 210px 2.5rem; /* Reduced to 210px to leave a small 10px gap above the 200px image */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo);
  min-height: 440px; /* Reduced min-height slightly */
}
.commitment-card:hover { transform: translateY(-10px); }
.commitment-card-dark {
  background: #0B051D; /* Very dark blue/black */
  color: #FFFFFF;
}
.commitment-card .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.commitment-card .card-text {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 0; /* Removed the 3rem margin to tighten the gap */
  position: relative;
  z-index: 2;
}
.commitment-card img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0 0 24px 24px;
  z-index: 1;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
}

.bento-tall-img {
  grid-row: span 2;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.bento-tall-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-stat {
  background: #EBE6F5;
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s;
}
.bento-stat:hover { transform: translateY(-5px); }
.bento-stat.white { background: #FFFFFF; box-shadow: 0 15px 40px rgba(0,0,0,0.03); }
.bento-stat h3 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand-violet);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.bento-stat p { margin: 0; font-size: 1rem; color: var(--text-secondary); }

.bento-cta {
  grid-row: span 2;
  background: var(--brand-gradient-hover);
  border-radius: 24px;
  padding: 2.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s;
}
[dir="rtl"] .bento-cta { text-align: right; }
.bento-cta:hover { transform: translateY(-5px); }
.bento-cta h3 { color: #FFFFFF; font-size: 2rem; margin-bottom: 0.5rem; }
.bento-cta p { color: rgba(255,255,255,0.8); margin: 0; }
.bento-cta img {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 120px;
  opacity: 0.2;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  background: #F0ECF9;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
