/* ==========================================================================
   مؤسسة البيت الحديدي للمقاولات العامة | The Iron House - Architectural Glass
   High-End Luxury Design System & Modern Architectural Glass Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Architectural Palette */
  --primary: #2358c4;
  /* Precision Sky Blue */
  --primary-hover: #2e68de;
  /* Bright Cyan Light */
  --primary-dark: #1a449a;
  /* Deep Cyan */
  --primary-light: #dbe7ff;
  /* Ice Crystal */
  --primary-glow: rgba(46, 104, 222, 0.35);

  /* Glass Luminescence Accents */
  --cyan-accent: #5b8def;
  --cyan-glow: rgba(91, 141, 239, 0.4);
  --ice-blue: var(--ice-blue);
  --ice-gradient: linear-gradient(135deg, #2e68de 0%, #1a449a 100%);
  --metal-gradient: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #94a3b8 100%);
  --glass-reflection: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 70%);

  /* WhatsApp Conversion Accent */
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebd5b;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  /* Neutrals & Surfaces */
  --bg-deep: #f4f7fb;
  /* Deepest Midnight Architecture */
  --bg-surface: #ffffff;
  /* Secondary Dark Surface */
  --bg-card: #ffffff;
  /* Card Dark Glass Background */
  --bg-card-hover: #f1f5fb;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-heavy: rgba(255, 255, 255, 0.88);

  /* Borders & Dividers */
  --border-light: rgba(11, 31, 63, 0.1);
  --border-glass: rgba(35, 88, 196, 0.2);
  --border-glass-hover: rgba(35, 88, 196, 0.5);

  /* Text Colors */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #8a9bb5;

  /* Shadows & Glow */
  --shadow-sm: 0 4px 14px rgba(11, 31, 63, 0.12);
  --shadow-md: 0 10px 30px rgba(11, 31, 63, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 31, 63, 0.12);
  --shadow-primary: 0 10px 30px rgba(35, 88, 196, 0.35);
  --shadow-glow: 0 0 35px rgba(35, 88, 196, 0.3);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Alexandria', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-body: 'Cairo', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-deep);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ice-blue) 0%, var(--primary) 100%);
  border-radius: 10px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

/* Accessible Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only:focus {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--text-white);
  clip: auto;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.3;
  font-weight: 800;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Gradient Text */
.gradient-text {
  background: var(--ice-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.metal-text {
  background: var(--metal-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Header Standards */
.section-header {
  margin-bottom: 56px;
  position: relative;
}

.section-header.text-center {
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 104, 222, 0.12);
  border: 1px solid rgba(35, 88, 196, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ice-blue);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-badge i {
  font-size: 0.85rem;
}

.section-heading {
  font-size: 2.3rem;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ice-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.1);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
  color: var(--text-white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  filter: brightness(1.08);
}

.btn-glass {
  background: rgba(11, 31, 63, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(11, 31, 63, 0.15);
  border-color: var(--ice-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(35, 88, 196, 0.4);
  color: var(--ice-blue);
}

.btn-outline:hover {
  background: rgba(35, 88, 196, 0.1);
  border-color: var(--ice-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.08rem;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   4. Top Bar (Announcement & Official License Bar)
   -------------------------------------------------------------------------- */
.top-bar {
  background: #0b1f3f;
  border-bottom: 1px solid rgba(11, 31, 63, 0.07);
  padding: 8px 0;
  font-size: 0.84rem;
  position: relative;
  z-index: 1001;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
}

.top-info-pill i {
  color: var(--ice-blue);
  font-size: 0.9rem;
}

.top-info-pill strong {
  color: var(--text-primary);
  font-weight: 700;
}

.top-action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.top-action-link:hover {
  color: var(--ice-blue);
}

.top-action-link i {
  color: var(--ice-blue);
}

.top-badge-verified {
  background: rgba(212, 162, 76, 0.15);
  border: 1px solid rgba(212, 162, 76, 0.35);
  color: #d4a24c;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --------------------------------------------------------------------------
   5. Sticky Glass Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 14px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(35, 88, 196, 0.25);
  box-shadow: 0 10px 30px rgba(11, 31, 63, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(11, 31, 63, 0.12);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.76rem;
  color: var(--ice-blue);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Nav Menu */
.nav-menu ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mobile-nav-header,
.mobile-nav-footer,
.nav-link-icon,
.nav-link-arrow,
.mobile-nav-backdrop {
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ice-blue);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--ice-blue);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: rgba(11, 31, 63, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(35, 88, 196, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(91, 141, 239, 0.1) 0%, transparent 50%),
    #f4f7fb;
  overflow: hidden;
}

/* Hero Background Glass Reflections & Grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 88, 196, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 88, 196, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow-orb {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(46, 104, 222, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  border-radius: 50%;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0px) scale(1);
  }

  100% {
    transform: translateY(-30px) scale(1.1);
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 660px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(46, 104, 222, 0.12);
  border: 1px solid rgba(35, 88, 196, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--ice-blue);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Quick Features / Trust Badges in Hero */
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid rgba(11, 31, 63, 0.08);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(46, 104, 222, 0.12);
  border: 1px solid rgba(35, 88, 196, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-blue);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hero-trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  font-family: var(--font-heading);
}

.hero-trust-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(35, 88, 196, 0.25);
  background: var(--bg-card);
  box-shadow: 0 25px 60px rgba(11, 31, 63, 0.12), 0 0 30px rgba(46, 104, 222, 0.2);
}

.hero-img-wrap {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card-showcase:hover .hero-img-wrap img {
  transform: scale(1.05);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 63, 0.1) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(35, 88, 196, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-floating-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.hero-floating-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Floating Quick Quote Tag */
.hero-pill-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--ice-gradient);
  color: var(--text-white);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* --------------------------------------------------------------------------
   7. Glass Types Section (أنواع الزجاج المطلوبة خصيصاً)
   -------------------------------------------------------------------------- */
.glass-types-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.glass-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.glass-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.glass-type-card:hover {
  transform: translateY(-8px);
  border-color: var(--ice-blue);
  box-shadow: 0 15px 40px rgba(11, 31, 63, 0.12), 0 0 25px rgba(35, 88, 196, 0.25);
}

.glass-type-media {
  height: 200px;
  position: relative;
  background: #f4f7fb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-type-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.glass-type-card:hover .glass-type-media img {
  transform: scale(1.06);
}

.glass-type-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(35, 88, 196, 0.35);
  color: var(--ice-blue);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.glass-type-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.glass-type-title {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--text-white);
}

.glass-type-en {
  font-size: 0.8rem;
  color: var(--ice-blue);
  font-weight: 600;
  margin-bottom: 14px;
  direction: ltr;
  text-align: right;
  display: block;
}

.glass-type-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.glass-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.glass-features-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.glass-features-list li i {
  color: var(--ice-blue);
  margin-top: 4px;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.glass-type-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(11, 31, 63, 0.08);
}

.glass-type-footer .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. Services Section (تخصصات الخدمات الأربعة)
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  background: var(--bg-deep);
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(46, 104, 222, 0.18);
}

.service-media {
  position: relative;
  background: #eef3fa;
  overflow: hidden;
  min-height: 280px;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.08);
}

.service-badge-num {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(35, 88, 196, 0.4);
  color: var(--ice-blue);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text-white);
}

.service-subtitle {
  font-size: 0.84rem;
  color: var(--ice-blue);
  margin-bottom: 14px;
  font-weight: 600;
  display: block;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.spec-pill {
  background: rgba(11, 31, 63, 0.05);
  border: 1px solid rgba(11, 31, 63, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spec-pill i {
  color: var(--ice-blue);
}

.service-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 31, 63, 0.08);
}

.service-action .btn {
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   9. Portfolio / Projects Gallery Section
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: 100px 0;
  background: #eef3fa;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  background: rgba(11, 31, 63, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover {
  background: rgba(11, 31, 63, 0.12);
  color: var(--text-white);
}

.filter-btn.active {
  background: var(--ice-gradient);
  border-color: transparent;
  color: var(--text-white);
  box-shadow: 0 4px 18px rgba(35, 88, 196, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--ice-blue);
  box-shadow: 0 15px 40px rgba(11, 31, 63, 0.12), 0 0 25px rgba(35, 88, 196, 0.2);
}

.project-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #e6edf7;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

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

.btn-lightbox {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 31, 63, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid #fff;
  color: var(--text-white);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-lightbox:hover {
  background: var(--ice-blue);
  border-color: var(--ice-blue);
  transform: scale(1.1);
}

.project-badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(35, 88, 196, 0.35);
  color: var(--ice-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.18rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.project-category {
  font-size: 0.82rem;
  color: var(--ice-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-action {
  padding-top: 14px;
  border-top: 1px solid rgba(11, 31, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-project-inquire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--whatsapp);
  transition: color var(--transition-fast);
}

.btn-project-inquire:hover {
  color: #4ade80;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. Trust Signals & License Verification Section
   -------------------------------------------------------------------------- */
.trust-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(46, 104, 222, 0.08) 0%, transparent 60%),
    #f4f7fb;
  position: relative;
}

.trust-container-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(35, 88, 196, 0.25);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 25px 60px rgba(11, 31, 63, 0.12), 0 0 35px rgba(46, 104, 222, 0.15);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.trust-container-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(35, 88, 196, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.trust-content h2 {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.trust-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.trust-stat-box {
  background: rgba(11, 31, 63, 0.04);
  border: 1px solid var(--border-light);
  padding: 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-stat-box i {
  font-size: 1.8rem;
  color: var(--ice-blue);
}

.trust-stat-num {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.trust-stat-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Certificate Digital Visual Card */
.certificate-preview-card {
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 100%);
  border: 1.5px solid rgba(35, 88, 196, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 15px 40px rgba(11, 31, 63, 0.12);
  position: relative;
  text-align: center;
}

.cert-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 31, 63, 0.1);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.cert-gov-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d4a24c;
}

.cert-num {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: monospace;
}

.cert-main-body {
  margin-bottom: 24px;
}

.cert-seal {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
}

.cert-title {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.cert-subtitle {
  font-size: 0.95rem;
  color: var(--ice-blue);
  font-weight: 700;
  margin-bottom: 16px;
}

.cert-details-list {
  background: rgba(11, 31, 63, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  margin-bottom: 20px;
}

.cert-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
}

.cert-row-label {
  color: var(--text-muted);
}

.cert-row-value {
  color: var(--text-white);
  font-weight: 700;
}

/* User Specific Verification Button Under Certificate */
.cert-verify-action {
  margin-top: 18px;
}

.btn-verify-license {
  background: rgba(212, 162, 76, 0.15);
  border: 1.5px solid #d4a24c;
  color: #d4a24c;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(212, 162, 76, 0.25);
}

.btn-verify-license:hover {
  background: #d4a24c;
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 162, 76, 0.4);
}

/* --------------------------------------------------------------------------
   11. Work Process Section (رحلة المشروع)
   -------------------------------------------------------------------------- */
.process-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-8px);
  border-color: var(--ice-blue);
  box-shadow: 0 15px 35px rgba(11, 31, 63, 0.12), 0 0 20px rgba(35, 88, 196, 0.2);
}

.step-num-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ice-gradient);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-primary);
}

.step-icon-wrap {
  font-size: 1.7rem;
  color: var(--ice-blue);
  margin-bottom: 14px;
}

.step-title {
  font-size: 1.12rem;
  color: var(--text-white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Interactive Quote Calculator / Lead Generation Form
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 100px 0;
  background: radial-gradient(circle at 20% 30%, rgba(35, 88, 196, 0.12) 0%, transparent 60%),
    #f4f7fb;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.calc-wrapper-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(35, 88, 196, 0.25);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(46, 104, 222, 0.15);
  max-width: 900px;
  margin: 0 auto;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-label i {
  color: var(--ice-blue);
}

.form-control,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(11, 31, 63, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ice-blue);
  box-shadow: 0 0 15px rgba(35, 88, 196, 0.3);
  background: rgba(255, 255, 255, 1);
}

.form-select option {
  background: #ffffff;
  color: var(--text-white);
}

.calc-submit-box {
  text-align: center;
  padding-top: 15px;
}

.btn-calc-whatsapp {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.15rem;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
}

.calc-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* --------------------------------------------------------------------------
   14. High Impact CTA Banner Section
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 80px 0;
  background: var(--bg-deep);
  position: relative;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(35, 88, 196, 0.25) 0%, rgba(255, 255, 255, 0.9) 100%),
    radial-gradient(circle at top right, rgba(35, 88, 196, 0.3) 0%, transparent 70%);
  border: 1.5px solid rgba(35, 88, 196, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(11, 31, 63, 0.12), 0 0 40px rgba(35, 88, 196, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner-content h2 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.cta-banner-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* --------------------------------------------------------------------------
   15. Footer Section
   -------------------------------------------------------------------------- */
.footer {
  background: #0b1f3f;
  border-top: 1px solid rgba(11, 31, 63, 0.08);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 3px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-title {
  font-size: 1.15rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--ice-blue);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li a {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links-list li a:hover {
  color: var(--ice-blue);
  transform: translateX(-4px);
}

.footer-links-list li a i {
  font-size: 0.75rem;
  color: var(--ice-blue);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-list li i {
  color: var(--ice-blue);
  font-size: 1rem;
  margin-top: 4px;
}

.footer-contact-list li a {
  color: var(--text-secondary);
}

.footer-contact-list li a:hover {
  color: var(--ice-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(11, 31, 63, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom strong {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   16. Modals (Lightbox & License Verification Modal)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 11, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #ffffff;
  border: 1.5px solid rgba(35, 88, 196, 0.35);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(11, 31, 63, 0.12), 0 0 40px rgba(35, 88, 196, 0.2);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 31, 63, 0.1);
  border: 1px solid rgba(11, 31, 63, 0.15);
  color: var(--text-white);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.license-modal-body {
  padding: 40px 36px;
  text-align: center;
}

.license-modal-seal {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
}

.license-modal-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: var(--text-white);
}

.license-modal-org {
  font-size: 1.15rem;
  color: var(--ice-blue);
  font-weight: 700;
  margin-bottom: 24px;
}

.license-data-table {
  background: rgba(11, 31, 63, 0.12);
  border: 1px solid rgba(11, 31, 63, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  overflow: hidden;
}

.license-data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(11, 31, 63, 0.06);
  font-size: 0.92rem;
}

.license-data-row:last-child {
  border-bottom: none;
}

.license-data-label {
  color: var(--text-muted);
}

.license-data-value {
  color: var(--text-white);
  font-weight: 700;
  direction: ltr;
  text-align: left;
}

.license-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(35, 88, 196, 0.06);
  border: 1px solid rgba(35, 88, 196, 0.2);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 26px;
  text-align: right;
}

.license-qr-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition-fast, 0.2s ease);
}

.license-qr-link:hover {
  transform: scale(1.05);
}

.license-qr-img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 6px;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.license-qr-link:hover .license-qr-img {
  box-shadow: 0 0 0 2px var(--gold-line, #b8892e);
}

.license-qr-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #0c573c;
  font-weight: 700;
  text-align: center;
}

.license-qr-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff !important;
  background: #0c573c;
  border: 1.5px solid #083d2a;
  padding: 8px 18px;
  border-radius: var(--radius-md, 6px);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(12, 87, 60, 0.28);
  transition: all 0.2s ease;
}

.license-qr-direct-btn:hover {
  background: #083d2a;
  border-color: #05261a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(12, 87, 60, 0.4);
}

.license-qr-direct-btn:active {
  transform: translateY(0);
}

.license-qr-direct-btn i.fa-shield-alt {
  color: #a7f3d0;
  font-size: 1rem;
}

.license-qr-direct-btn i.fa-external-link-alt {
  font-size: 0.75rem;
  opacity: 0.85;
}

.license-modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Lightbox Modal Specific */
.lightbox-dialog {
  max-width: 900px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.lightbox-img-wrap {
  position: relative;
  max-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.lightbox-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
}

.lightbox-caption-bar {
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #ffffff;
  border-top: 1px solid rgba(11, 31, 63, 0.08);
}

.lightbox-title {
  font-size: 1.25rem;
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   17. Floating Action Buttons (WhatsApp, Phone, Scroll To Top)
   -------------------------------------------------------------------------- */
.floating-action-bar {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 999;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-white);
  box-shadow: 0 8px 25px rgba(11, 31, 63, 0.12);
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
  border: none;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.06);
}

.floating-whatsapp {
  background: #25D366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.pulsing-aura {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseAura 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pulseAura {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.floating-phone {
  background: var(--ice-gradient);
  box-shadow: 0 8px 25px rgba(35, 88, 196, 0.45);
}

.floating-scroll {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(35, 88, 196, 0.35);
  color: var(--ice-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.floating-scroll.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  transition: stroke-dashoffset 0.15s ease;
}

.floating-tooltip {
  position: absolute;
  left: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(35, 88, 196, 0.35);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   18. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .glass-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 20px;
  }

  .hero-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

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

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

  .trust-container-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

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

  .nav-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 1.85rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .glass-types-grid {
    grid-template-columns: 1fr;
  }

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

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

  .calc-form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

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

  .top-bar {
    display: none;
  }

  .floating-action-bar {
    bottom: 20px;
    left: 20px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .license-qr-wrap {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 16px;
  }

  .license-qr-direct-btn {
    width: 100%;
    max-width: 300px;
    margin: 10px auto 0;
  }
}


/* --------------------------------------------------------------------------
   19. Frontend UI Engineering & WCAG Accessibility Enhancements
   -------------------------------------------------------------------------- */

/* Focus Visibility (WCAG 2.1 AA) */
:focus-visible {
  outline: 2px solid var(--ice-blue) !important;
  outline-offset: 3px !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ice-blue) !important;
  outline-offset: 3px !important;
}

/* Reduced Motion Preference */
@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;
  }

  .pulsing-aura {
    display: none !important;
  }
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid #d4a24c;
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(11, 31, 63, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  z-index: 10001;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-notification i {
  color: #d4a24c;
  font-size: 1.2rem;
}

/* Copy License Button */
.btn-copy-cr {
  background: rgba(35, 88, 196, 0.1);
  border: 1px solid rgba(35, 88, 196, 0.3);
  color: var(--ice-blue);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-copy-cr:hover {
  background: var(--ice-blue);
  color: var(--text-white);
}

/* Dual Calculator Container & Live Estimation Preview */
.calc-dual-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.calc-preview-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fb 100%);
  border: 1.5px solid rgba(35, 88, 196, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 15px 40px rgba(11, 31, 63, 0.12);
  position: sticky;
  top: 110px;
}

.calc-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 31, 63, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.calc-preview-header h4 {
  font-size: 1.1rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-preview-badge {
  background: rgba(212, 162, 76, 0.15);
  border: 1px solid #d4a24c;
  color: #d4a24c;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.preview-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.preview-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px dashed rgba(11, 31, 63, 0.08);
  padding-bottom: 10px;
}

.preview-metric-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-metric-label i {
  color: var(--ice-blue);
  font-size: 0.85rem;
}

.preview-metric-value {
  color: var(--text-white);
  font-weight: 700;
}

@media (max-width: 992px) {
  .calc-dual-container {
    grid-template-columns: 1fr;
  }

  .calc-preview-card {
    position: static;
  }
}

@media (max-width: 480px) {
  .toast-notification {
    right: 15px;
    left: 15px;
    bottom: 20px;
    justify-content: center;
  }
}

/* ==========================================================================
   v2 — Navy / Steel / Gold refinements & fixes
   ========================================================================== */
:root {
  --gold: #d4a24c;
  --gold-soft: rgba(212, 162, 76, .14);
  --gold-line: rgba(212, 162, 76, .45)
}

h1,
h2,
h3,
h4 {
  font-weight: 700
}

.hero-glow-orb {
  display: none
}

.hero-pill-badge {
  animation: none
}

.gradient-text,
.metal-text {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: inherit
}

.hero-title {
  font-weight: 800
}

/* Calmer, sturdier interactions */
.glass-type-card:hover,
.service-card:hover,
.project-card:hover,
.process-step-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
  border-color: var(--border-glass-hover)
}

.btn:hover,
.btn-primary:hover,
.btn-glass:hover,
.btn-outline:hover,
.btn-whatsapp:hover {
  transform: none
}

.btn-primary:hover {
  box-shadow: var(--shadow-primary);
  filter: brightness(1.08)
}

.btn-whatsapp {
  background: #128a49;
  box-shadow: none
}

.btn-whatsapp:hover {
  background: #0e7a40;
  box-shadow: none;
  filter: none
}

/* Gold = verified / licensed (the one memorable accent) */
.btn-verify-license {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none
}

.btn-verify-license:hover {
  background: var(--gold);
  color: #f4f7fb;
  transform: none;
  box-shadow: none
}

.top-badge-verified,
.calc-preview-badge {
  background: var(--gold-soft);
  border-color: var(--gold-line);
  color: var(--gold)
}

.cert-gov-badge,
.trust-stat-num,
.trust-stat-box i {
  color: var(--gold)
}

.trust-container-card,
.certificate-preview-card {
  border-color: var(--gold-line)
}

.footer-title::after {
  background: var(--gold)
}

/* Portfolio: filter via [hidden]; zoom button reachable on touch + keyboard */
.project-card[hidden] {
  display: none
}

.project-overlay {
  opacity: 1;
  background: none;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px;
  pointer-events: none
}

.btn-lightbox {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  pointer-events: auto;
  background: rgba(6, 16, 31, .8)
}

/* Modals: animate with visibility instead of display */
.modal-backdrop {
  display: flex;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease
}

.modal-backdrop.active {
  visibility: visible
}

/* ==========================================================================
   v3 — Light theme (navy text, white/sky surfaces, navy anchors)
   ========================================================================== */
:root {
  --ice-blue: #2358c4;
  --gold-text: #8a5d0a;
  --text-white: #0b1f3f;
  --text-primary: #0b1f3f;
  --text-secondary: #334560;
  --text-muted: #566784;
  --text-dim: #6b7a94;
  --border-light: rgba(11, 31, 63, .12);
  --border-glass: rgba(35, 88, 196, .22);
  --border-glass-hover: rgba(35, 88, 196, .55);
  --bg-glass: rgba(255, 255, 255, .85);
  --bg-glass-heavy: rgba(255, 255, 255, .95);
  --shadow-sm: 0 2px 8px rgba(11, 31, 63, .06);
  --shadow-md: 0 8px 24px rgba(11, 31, 63, .10);
  --shadow-lg: 0 16px 40px rgba(11, 31, 63, .14);
  --shadow-primary: 0 8px 20px rgba(35, 88, 196, .28);
  --shadow-glow: 0 8px 24px rgba(35, 88, 196, .25);
}

/* Dark navy anchors keep light text */
.top-bar,
.footer,
.cta-banner-card {
  --ice-blue: #8fb3f5;
  --gold-text: #d4a24c;
  --text-white: #fff;
  --text-primary: #f8fafc;
  --text-secondary: #d5deee;
  --text-muted: #a9b9d4;
  --text-dim: #8da0c0;
  --border-light: rgba(255, 255, 255, .14);
}

.top-bar,
.footer {
  background: #0b1f3f
}

.top-bar {
  border-bottom-color: rgba(255, 255, 255, .12)
}

.footer-bottom,
.footer-title {
  border-color: rgba(255, 255, 255, .14)
}

.cta-banner-card {
  background: linear-gradient(135deg, #0b2a5b 0%, #14408a 100%);
  border-color: rgba(212, 162, 76, .5)
}

.cta-banner-card .btn-glass {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35)
}

.cta-banner-card .btn-glass:hover {
  background: rgba(255, 255, 255, .22)
}

/* Text that must stay white on coloured fills */
.btn-primary,
.btn-whatsapp,
.filter-btn.active,
.step-num-bubble,
.hero-pill-badge,
.floating-btn,
.sr-only:focus,
.btn-copy-cr:hover {
  color: #fff
}

.btn-lightbox {
  background: rgba(11, 31, 63, .75);
  color: #fff;
  border-color: #fff
}

.modal-close-btn {
  background: #eef3fa;
  border-color: var(--border-light);
  color: var(--text-white)
}

.modal-close-btn:hover {
  color: #fff
}

.floating-scroll {
  color: var(--ice-blue)
}

/* Gold on light needs a deeper tone to stay readable */
.btn-verify-license {
  color: var(--gold-text)
}

.btn-verify-license:hover {
  background: var(--gold);
  color: #0b1f3f
}

.cert-gov-badge,
.trust-stat-num,
.trust-stat-box i,
.calc-preview-badge {
  color: #8a5d0a
}

.top-badge-verified {
  color: var(--gold-text)
}

/* Surfaces: soft, not heavy */
.navbar {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 0 var(--border-light)
}

.navbar.scrolled {
  box-shadow: 0 6px 20px rgba(11, 31, 63, .08)
}

.hero {
  background: linear-gradient(180deg, #eaf1fb 0%, #f8fafd 100%)
}

.hero-grid-bg {
  background-image: linear-gradient(rgba(35, 88, 196, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 88, 196, .06) 1px, transparent 1px)
}

.hero-card-showcase,
.glass-type-card,
.service-card,
.project-card,
.process-step-card,
.trust-container-card,
.certificate-preview-card,
.calc-wrapper-card,
.calc-preview-card {
  box-shadow: var(--shadow-sm)
}

.hero-card-showcase {
  box-shadow: var(--shadow-lg)
}

.hero-img-overlay {
  background: linear-gradient(180deg, rgba(11, 31, 63, 0) 40%, rgba(11, 31, 63, .35) 100%)
}

.hero-floating-badge {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md)
}

.trust-container-card::before {
  display: none
}

.cert-details-list {
  background: #f4f7fb
}

.license-data-table {
  background: #f4f7fb
}

.form-control,
.form-select {
  background: #fff;
  border-color: rgba(11, 31, 63, .2)
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(35, 88, 196, .18)
}

.btn-glass {
  background: #fff;
  color: var(--text-primary)
}

.btn-glass:hover {
  background: #eef3fa;
  color: var(--text-primary)
}

.nav-link.active::after {
  box-shadow: none
}

.toast-notification {
  background: #0b1f3f;
  color: #fff
}

.toast-notification span {
  color: #fff
}

/* ==========================================================================
   v4 — Header refinements
   ========================================================================== */
.top-bar {
  padding: 7px 0;
  font-size: .82rem
}

.top-bar-container,
.top-bar-left,
.top-bar-right {
  flex-wrap: nowrap;
  gap: 16px
}

.top-bar-container {
  justify-content: space-between
}

.top-bar-left>*,
.top-bar-right>* {
  white-space: nowrap
}

.navbar {
  padding: 12px 0
}

.nav-container {
  gap: 16px
}

.brand-logo {
  flex-shrink: 0;
  gap: 12px
}

.brand-logo-img {
  height: 56px;
  box-shadow: 0 0 0 1px rgba(11, 31, 63, .12)
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--text-white)
}

.brand-tagline {
  font-size: .74rem;
  white-space: nowrap;
  letter-spacing: 0
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center
}

.nav-menu ul {
  gap: 2px
}

.nav-link {
  white-space: nowrap;
  font-size: .9rem;
  padding: 8px 10px
}

.nav-actions .btn {
  padding: 11px 20px;
  white-space: nowrap
}

/* ==========================================================================
   Modern Luxury Mobile Navigation Drawer & Backdrop
   ========================================================================== */
@media (max-width: 1320px) {
  .nav-container {
    justify-content: space-between;
    align-items: center;
  }

  .nav-actions {
    margin-right: 0;
  }

  .brand-logo {
    min-width: 0;
  }

  /* Refined Mobile Toggle Button */
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1.5px solid rgba(11, 31, 63, 0.12);
    border-radius: 12px;
    color: #0b1f3f;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(11, 31, 63, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
  }

  .mobile-toggle:hover {
    background: rgba(35, 88, 196, 0.06);
    border-color: rgba(35, 88, 196, 0.3);
    color: var(--primary);
  }

  .mobile-toggle.active {
    background: rgba(35, 88, 196, 0.1);
    border-color: var(--primary);
    color: var(--primary);
  }

  /* Backdrop Blur Overlay */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 63, 0.48);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  }

  .mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Main Dropdown Panel */
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 3px solid var(--primary);
    border-radius: 0 0 24px 24px;
    padding: 39px 16px 18px;
    box-shadow: 0 24px 50px -10px rgba(11, 31, 63, 0.22), 0 0 0 1px rgba(11, 31, 63, 0.06);
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1001;

    /* Smooth Slide-down & Fade Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.28s;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Section Title inside Dropdown */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(11, 31, 63, 0.07);
  }

  .mobile-nav-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .mobile-nav-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px rgba(35, 88, 196, 0.6);
  }

  .mobile-nav-hint {
    font-size: 0.72rem;
    color: #64748b;
  }

  /* Nav Links List */
  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .nav-menu li {
    width: 100%;
  }

  /* Modern Card Style for Each Item */
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid rgba(11, 31, 63, 0.07);
    border-radius: 12px;
    text-align: right;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(11, 31, 63, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Remove unsightly desktop underline */
  .nav-link::after,
  .nav-link.active::after {
    display: none !important;
  }

  /* Item Icon Bubble */
  .nav-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(35, 88, 196, 0.08);
    border: 1px solid rgba(35, 88, 196, 0.12);
    color: var(--primary);
    font-size: 0.95rem;
    margin-left: 12px;
    transition: all 0.2s ease;
  }

  /* Item Text */
  .nav-link-text {
    flex: 1;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s ease;
  }

  /* Chevron Indicator */
  .nav-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #94a3b8;
    font-size: 0.76rem;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  /* Interactive States */
  .nav-link:hover {
    background: rgba(35, 88, 196, 0.04);
    border-color: rgba(35, 88, 196, 0.24);
    transform: translateX(-3px);
  }

  .nav-link:hover .nav-link-arrow {
    color: var(--primary);
    transform: translateX(-3px);
  }

  .nav-link.active {
    background: linear-gradient(135deg, rgba(35, 88, 196, 0.09) 0%, rgba(35, 88, 196, 0.03) 100%);
    border-color: rgba(35, 88, 196, 0.32);
    box-shadow: 0 3px 12px rgba(35, 88, 196, 0.1);
  }

  .nav-link.active .nav-link-icon {
    background: linear-gradient(135deg, #2358c4 0%, #1a449a 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(35, 88, 196, 0.32);
  }

  .nav-link.active .nav-link-text {
    color: var(--primary);
    font-weight: 700;
  }

  .nav-link.active .nav-link-arrow {
    color: var(--primary);
    transform: translateX(-4px);
  }

  /* Mobile Footer Inside Drawer */
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(11, 31, 63, 0.12);
  }

  .mobile-nav-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.94rem;
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
    transition: all 0.25s ease;
  }

  .mobile-nav-whatsapp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.36);
  }

  .mobile-nav-whatsapp-btn i {
    font-size: 1.25rem;
  }

  .mobile-nav-quick-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-nav-call-btn,
  .mobile-nav-cert-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-nav-call-btn {
    background: #f8fafc;
    border: 1px solid rgba(11, 31, 63, 0.1);
    color: #0b1f3f !important;
  }

  .mobile-nav-call-btn:hover {
    background: #edf2f7;
    border-color: rgba(11, 31, 63, 0.2);
  }

  .mobile-nav-call-btn i {
    color: var(--primary);
  }

  .mobile-nav-cert-btn {
    background: #fdfaf2;
    border: 1px solid rgba(184, 137, 46, 0.32);
    color: #8a5d0a !important;
    font-family: inherit;
  }

  .mobile-nav-cert-btn:hover {
    background: #fbf3df;
    border-color: #8a5d0a;
  }

  .mobile-nav-cert-btn i {
    color: #b8892e;
  }

  .mobile-nav-trust-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid rgba(11, 31, 63, 0.06);
    border-radius: 8px;
    font-size: 0.74rem;
    color: #64748b;
    text-align: center;
  }

  .mobile-nav-trust-chip i {
    color: #b8892e;
  }
}

/* Prevent body scrolling while menu is open on mobile */
body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width:768px) {
  .brand-name {
    font-size: 1.02rem
  }

  .brand-tagline {
    display: none
  }

  .brand-logo-img {
    height: 46px
  }
}

@media (max-width:1100px) {
  .top-action-link[href^="mailto"] {
    display: none
  }
}

@media (max-width:640px) {
  .top-bar {
    display: none
  }
}

@media (max-width:992px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important
  }

  .about-image-card img {
    height: 320px !important
  }
}

.gradient-text {
  display: inline
}

.trust-container-card>*,
.calc-dual-container>*,
.hero-container>* {
  min-width: 0
}

@media (max-width:768px) {
  .brand-name {
    white-space: normal;
    font-size: .98rem;
    line-height: 1.25
  }

  .brand-logo {
    gap: 10px
  }

  .trust-container-card {
    padding: 24px 18px
  }

  .trust-stats-grid {
    grid-template-columns: 1fr
  }

  .calc-wrapper-card {
    padding: 24px 18px
  }
}

.brand-logo-img {
  flex-shrink: 0;
  max-width: 72px;
  object-fit: contain;
  overflow: hidden
}

.brand-text {
  min-width: 0
}

@media (max-width:768px) {
  .brand-logo {
    max-width: calc(100% - 64px)
  }
}

@media (max-width:768px) {
  .btn {
    white-space: normal;
    text-align: center
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 1rem
  }

  .hero-cta-group .btn,
  .cta-banner-buttons .btn {
    width: 100%
  }
}

/* v5 — no oval badges: specs become plain text, verified note plain */
.spec-pill {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: .84rem
}

.service-specs {
  flex-direction: column;
  gap: 8px
}

.top-badge-verified {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: .82rem
}

.hero-title {
  margin-top: 0
}

/* v6 — scroll-to-top on the right; toast centred */
.floating-scroll {
  position: fixed;
  right: 28px;
  bottom: 28px
}

.toast-notification {
  right: auto;
  left: 50%;
  transform: translate(-50%, 20px)
}

.toast-notification.show {
  transform: translate(-50%, 0)
}

.floating-scroll.visible {
  transform: none
}

@media (max-width:768px) {
  .floating-scroll {
    right: 20px;
    bottom: 20px
  }
}

@media (max-width:480px) {
  .toast-notification {
    right: auto;
    left: 50%;
    width: calc(100% - 30px);
    transform: translate(-50%, 20px)
  }
}

/* ==========================================================================
   v7 — Gold & Glass-Edge palette
   حبر أخضر غامق (حافة الزجاج) + ذهبي مصقول + أسطح زجاجية فاتحة
   ========================================================================== */
:root {
  --primary: #b8892e;
  --primary-hover: #c99a3c;
  --primary-dark: #8a6516;
  --primary-light: #f1e5c6;
  --ice-blue: #8a6516;
  --gold: #c9a24a;
  --gold-text: #8a6516;
  --gold-soft: rgba(201, 162, 74, .14);
  --gold-line: rgba(201, 162, 74, .5);
  --ice-gradient: linear-gradient(135deg, #e2b85c 0%, #b8892e 100%);
  --ink: #0a1a18;
  --ink-2: #0d2220;
  --bg-deep: #f3f5f2;
  --bg-card: #fff;
  --bg-card-hover: #eef2ee;
  --text-white: #10231f;
  --text-primary: #10231f;
  --text-secondary: #3b4f4a;
  --text-muted: #566863;
  --text-dim: #6a7b76;
  --border-light: rgba(16, 35, 31, .12);
  --border-glass: rgba(184, 137, 46, .28);
  --border-glass-hover: rgba(184, 137, 46, .6);
  --shadow-sm: 0 2px 8px rgba(16, 35, 31, .06);
  --shadow-md: 0 8px 24px rgba(16, 35, 31, .10);
  --shadow-lg: 0 18px 44px rgba(16, 35, 31, .16);
  --shadow-primary: 0 8px 20px rgba(184, 137, 46, .30);
  --shadow-glow: 0 8px 24px rgba(184, 137, 46, .28);
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --font-heading: 'Readex Pro', 'Alexandria', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif;
}

/* الأقسام الداكنة: نص فاتح + ذهبي ساطع */
.top-bar,
.footer,
.cta-banner-card,
.hero {
  --ice-blue: #e2b85c;
  --gold-text: #e2b85c;
  --text-white: #fff;
  --text-primary: #f6f4ec;
  --text-secondary: #d3dcd8;
  --text-muted: #a3b5af;
  --text-dim: #8aa09a;
  --border-light: rgba(255, 255, 255, .14);
}

/* العربي ما يتحملش letter-spacing سالب: بيقطّع اتصال الحروف */
.hero-title,
.section-heading,
.brand-name,
.brand-tagline,
.trust-content h2,
.cta-banner-content h2 {
  letter-spacing: 0
}

.hero-title {
  font-weight: 700;
  line-height: 1.35
}

/* أسطح الأقسام: تناوب هادي بين أبيض وفروست */
.top-bar,
.footer {
  background: var(--ink)
}

.top-bar {
  border-bottom-color: rgba(255, 255, 255, .1)
}

.trust-section,
.services-section,
.cta-banner-section {
  background: var(--bg-deep)
}

.glass-types-section,
.process-section {
  background: #fff
}

.portfolio-section {
  background: #e9eeea
}

.glass-type-media {
  background: var(--bg-deep)
}

.service-media {
  background: #e9eeea
}

.project-media {
  background: #e3e9e5
}

/* الهيرو: داكن مع انعكاس زجاجي مائل + إطار ذهبي مزاح خلف الصورة */
.hero {
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 65%, #12302a 100%)
}

.hero-grid-bg {
  background-size: 100% 100%;
  background-image: linear-gradient(112deg, transparent 0 46%, rgba(226, 184, 92, .08) 46% 46.2%, transparent 46.2% 70%, rgba(255, 255, 255, .035) 70% 100%)
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px 18px -18px -18px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-xl);
  pointer-events: none
}

.hero-card-showcase {
  position: relative;
  z-index: 1;
  border-color: var(--gold-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45)
}

.hero-floating-badge {
  background: rgba(10, 26, 24, .82);
  border-color: rgba(226, 184, 92, .35);
  box-shadow: none
}

.hero-trust-row {
  border-top-color: rgba(255, 255, 255, .14)
}

.hero-trust-icon {
  background: rgba(226, 184, 92, .12);
  border-color: rgba(226, 184, 92, .35)
}

.hero .btn-glass,
.cta-banner-card .btn-glass {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
  color: #fff
}

.hero .btn-glass:hover,
.cta-banner-card .btn-glass:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff
}

.cta-banner-card {
  background: linear-gradient(135deg, var(--ink-2) 0%, #143a34 100%);
  border-color: var(--gold-line)
}

/* الأزرار والعناصر اللي خلفيتها ذهبي: نص حبر مش أبيض (تباين أعلى) */
.btn-primary,
.filter-btn.active,
.step-num-bubble,
.hero-pill-badge,
.floating-phone {
  color: var(--ink)
}

.filter-btn.active {
  box-shadow: 0 4px 14px rgba(184, 137, 46, .3)
}

.floating-phone {
  box-shadow: 0 8px 25px rgba(184, 137, 46, .4)
}

.floating-scroll {
  border-color: var(--gold-line)
}

.btn-lightbox {
  background: rgba(10, 26, 24, .78)
}

/* بقايا الأزرق المكتوبة ثابتة في الطبقات القديمة */
.btn-copy-cr {
  background: var(--gold-soft);
  border-color: var(--gold-line)
}

.license-qr-wrap {
  background: rgba(184, 137, 46, .07);
  border-color: var(--gold-line)
}

.modal-dialog {
  border-color: var(--gold-line);
  box-shadow: 0 30px 80px rgba(10, 26, 24, .35)
}

.modal-backdrop {
  background: rgba(6, 16, 14, .88)
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(184, 137, 46, .22)
}

.toast-notification {
  background: var(--ink)
}

.cert-details-list,
.license-data-table {
  background: var(--bg-deep)
}

/* حركة واحدة عند تحميل الصفحة فقط */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (prefers-reduced-motion:no-preference) {
  .hero-content>* {
    animation: rise .8s cubic-bezier(.16, 1, .3, 1) both
  }

  .hero-content>:nth-child(2) {
    animation-delay: .1s
  }

  .hero-content>:nth-child(3) {
    animation-delay: .2s
  }

  .hero-content>:nth-child(4) {
    animation-delay: .3s
  }

  .hero-visual {
    animation: rise .9s .2s cubic-bezier(.16, 1, .3, 1) both
  }
}

@media (max-width:992px) {
  .hero-visual::before {
    inset: 12px 12px -12px -12px
  }
}


/* ==========================================================================
   v8 — FAQ: عمودان (مقدمة + بطاقة مساعدة | أكورديون بأزرار مربعة)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: #fff;
  border-top: 1px solid var(--border-light)
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch
}

.faq-layout>* {
  min-width: 0
}

/* العمود الأول: مقدمة بالأعلى وبطاقة المساعدة بالأسفل */
.faq-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 22px
}

.faq-title {
  font-size: 2.7rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 16px;
  color: var(--ink)
}

.faq-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 480px
}

.faq-help {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px 30px 32px;
  background: #fff
}

.faq-help-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink)
}

.faq-help-text {
  font-size: .98rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 460px
}

.faq-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .98rem;
  font-weight: 500;
  box-shadow: inset 0 0 12px 2px rgba(255, 255, 255, .28), 0 0 0 2px rgba(10, 26, 24, .5);
  transition: box-shadow var(--transition-fast), background var(--transition-fast)
}

.faq-help-btn:hover {
  background: #12302a;
  color: #fff;
  box-shadow: inset 0 0 14px 3px rgba(226, 184, 92, .4), 0 0 0 2px rgba(10, 26, 24, .5)
}

/* العمود الثاني: الأكورديون */
.faq-acc {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.faq-acc-item {
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast)
}

.faq-acc-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit
}

.faq-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: right;
  color: var(--ink);
  font-family: var(--font-heading)
}

.faq-acc-q {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.6
}

.faq-acc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(16, 35, 31, .1);
  color: var(--ink);
  transition: background var(--transition-fast), color var(--transition-fast)
}

.faq-acc-icon svg {
  transition: transform var(--transition-normal)
}

.faq-acc-btn:hover .faq-acc-icon {
  background: rgba(16, 35, 31, .2)
}

.faq-acc-item.active .faq-acc-icon {
  background: var(--ink);
  color: #fff
}

.faq-acc-item.active .faq-acc-icon svg {
  transform: rotate(180deg)
}

.faq-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s ease, visibility 0s .35s
}

.faq-acc-item.active .faq-acc-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .35s ease, visibility 0s 0s
}

.faq-acc-panel-inner {
  overflow: hidden;
  min-height: 0
}

.faq-acc-panel-inner p {
  padding: 2px 22px 24px;
  margin-right: 0;
  max-width: 92%;
  font-size: .97rem;
  line-height: 1.95;
  color: var(--text-muted)
}

@media (max-width:992px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .faq-side {
    gap: 32px
  }

  .faq-lead {
    max-width: none
  }
}

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

  .faq-title {
    font-size: 2rem
  }

  .faq-help {
    padding: 24px 20px 26px
  }

  .faq-acc-btn {
    padding: 16px 16px
  }

  .faq-acc-panel-inner p {
    padding: 2px 16px 20px;
    max-width: none
  }
}

@media (prefers-reduced-motion:reduce) {

  .faq-acc-panel,
  .faq-acc-icon svg {
    transition: none !important
  }
}

/* ==========================================================================
   v9 — Hero slider (صورة رئيسية + شريط مصغّرات + وصف)
   ========================================================================== */
.hero {
  flex-direction: column;
  justify-content: center;
  gap: 56px
}

.hero-visual::before {
  display: none
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin-inline: auto
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none
}

.hero-stage-frame {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--gold-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  z-index: 1
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .7s ease, transform 1.2s ease
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1)
}

.hero-slider-bar {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2
}

.hero-slider-bar>* {
  min-width: 0
}

.hero-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

@media (max-width:992px) {
  .hero-thumbs {
    margin: auto;
  }

  .faq-intro {
    text-align: center;
  }
}

.hero-thumbs::-webkit-scrollbar {
  display: none
}

.hero-thumb {
  position: relative;
  flex: 0 0 124px;
  height: 88px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: center;
  transition: border-color var(--transition-fast), background var(--transition-fast)
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  opacity: .6;
  transition: opacity var(--transition-fast)
}

.hero-thumb:hover img,
.hero-thumb.active img {
  opacity: 1
}

.hero-thumb.active {
  border-color: var(--gold);
  background: rgba(226, 184, 92, .1)
}

.thumb-progress {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none
}

.hero-thumb.active .thumb-progress {
  animation: thumbFill var(--slide-ms, 5000ms) linear forwards
}

.hero.paused .thumb-progress {
  animation-play-state: paused
}

.hero.no-autoplay .thumb-progress {
  display: none;
  animation: none !important
}

@keyframes thumbFill {
  to {
    transform: scaleX(1)
  }
}

.hero-caption {
  display: flex;
  align-items: stretch;
  gap: 16px;
  max-width: 420px;
  margin-inline: auto 0
}

.hero-caption-line {
  width: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0
}

.hero-caption-text {
  transition: opacity .25s ease, transform .25s ease
}

.hero-caption-text.swap {
  opacity: 0;
  transform: translateY(6px)
}

.hero-caption-text h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px
}

.hero-caption-text p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px
}

.hero-caption-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--gold-text)
}

.hero-caption-link:hover {
  text-decoration: underline
}

@media (max-width:992px) {
  .hero {
    gap: 36px
  }

  .hero-stage {
    max-width: 340px
  }

  .hero-slider-bar {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .hero-caption {
    margin-inline: auto
  }
}

@media (max-width:768px) {
  .hero-thumb {
    flex-basis: 104px;
    height: 76px
  }

  .hero-stage::before {
    inset: 10px -10px -10px 10px
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-slide {
    transition: none !important
  }
}

/* ==========================================================================
   v10 — Hero: مقاسات وخطوط متوازنة (الهيرو كله يبان في أول شاشة)
   - الخطوط بتتغيّر تدريجيًا حسب عرض الشاشة (clamp) بدل أرقام ثابتة
   - ارتفاع صورة الدايرة مربوط بارتفاع الشاشة عشان الشريط السفلي ما يتقصّش
   - لو عندك header ارتفاعه مختلف، غيّري --hero-offset بس
   ========================================================================== */
.hero {
  --hero-offset: 125px;
  /* ارتفاع الشريط العلوي + النافبار تقريبًا */
  min-height: calc(100vh - var(--hero-offset));
  min-height: calc(100svh - var(--hero-offset));
  padding: clamp(20px, 4svh, 48px) 0 clamp(16px, 3svh, 32px);
  gap: clamp(16px, 3.2svh, 36px);
}

.hero-container {
  gap: clamp(24px, 4vw, 56px);
  align-items: center
}

.hero-content {
  max-width: none
}

.hero-title {
  font-size: clamp(1.8rem, 1rem + 1.9vw, 2.6rem);
  line-height: 1.35;
  margin-bottom: clamp(10px, 2svh, 18px);
  text-wrap: balance;
}

.hero-description {
  font-size: clamp(1rem, .92rem + .25vw, 1.1rem);
  line-height: 1.85;
  max-width: 62ch;
  margin-bottom: clamp(16px, 3svh, 28px);
  text-wrap: pretty;
}

.hero-cta-group {
  gap: 12px;
  margin-bottom: clamp(16px, 3svh, 32px)
}

.hero .btn-lg {
  padding: 13px 26px;
  font-size: 1rem
}

.hero-trust-row {
  padding-top: clamp(14px, 2.5svh, 24px);
  gap: 14px
}

.hero-trust-icon {
  width: 40px;
  height: 40px;
  font-size: 1.05rem
}

.hero-trust-text strong {
  font-size: .95rem
}

.hero-trust-text span {
  font-size: .85rem
}

/* صورة الدايرة: بتصغر لو الشاشة قصيرة بدل ما تزق الشريط برا الشاشة */
.hero-stage {
  width: min(100%, 440px, calc(100svh - 360px));
  min-width: 240px;
  max-width: none;
}

.hero-slider-bar {
  gap: clamp(24px, 4vw, 60px)
}

.hero-thumbs {
  padding: 4px
}

.hero-thumb {
  flex: 0 0 112px;
  height: 78px
}

.hero-caption {
  max-width: 440px
}

.hero-caption-text h4 {
  font-size: 1.05rem
}

.hero-caption-text p {
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 8px
}

.hero-caption-link {
  font-size: .88rem
}


@media (min-width:993px) and (max-height:800px) {
  .hero-title {
    font-size: clamp(1.75rem, .9rem + 1.6vw, 2.3rem)
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.75
  }

  .hero-trust-row {
    display: none
  }

  /* الثقة موجودة في أقسام تانية، ومش لازم تزحم أول شاشة */
  .hero-thumb {
    height: 68px;
    flex-basis: 100px
  }
}

/* شاشات كبيرة وطويلة */
@media (min-width:1400px) and (min-height:900px) {
  .hero-stage {
    width: min(100%, 500px, calc(100svh - 380px))
  }

  .hero-title {
    font-size: clamp(2.4rem, 1rem + 1.8vw, 3rem)
  }
}

/* تابلت وموبايل: الهيرو يمشي بطوله الطبيعي (من غير إجبار على ارتفاع الشاشة) */
@media (max-width:992px) {
  .hero {
    min-height: 0;
    padding: 36px 0 28px;
    gap: 28px
  }

  .hero-stage {
    width: min(100%, 320px);
    min-width: 0
  }

  .hero-description {
    margin-inline: auto
  }

  .hero-title {
    font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.2rem)
  }

  .hero-thumb {
    height: 72px
  }
}

@media (max-width:576px) {
  .hero {
    padding: 28px 0 24px
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.45
  }

  .hero-description {
    font-size: .98rem
  }

  .hero-stage {
    width: min(100%, 280px)
  }

  .hero-thumb {
    flex-basis: 92px;
    height: 66px
  }
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
}

.scroll-down:hover .scroll-mouse {
  border-color: #f0cd7a
}

.scroll-down:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 8px
}

.scroll-mouse {
  position: relative;
  width: 26px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  transition: border-color var(--transition-fast);
}

.scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--gold);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  margin-top: -2px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: scrollArrow 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(11px);
    opacity: 0.15;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scrollArrow {

  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: .5
  }

  50% {
    transform: translateY(5px) rotate(45deg);
    opacity: 1
  }
}

@media (min-width:1200px) {
  .scroll-down {
    display: flex
  }
}

@media (prefers-reduced-motion:reduce) {

  .scroll-wheel,
  .scroll-arrow {
    animation: none
  }

  .scroll-wheel {
    opacity: 1
  }
}