/* ==========================================================================
   WHITE CUBES REAL ESTATE VALUATION - ARABIC CORPORATE STYLESHEET (RTL)
   Design System: Corporate Navy (#182e7b) & Trust Gold (#feb711)
   Optimized for Arabic typography, RTL flow, maximum Google Ads conversions.
   Zero external framework dependencies.
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #182e7b;
  --primary-dark: #0f1d52;
  --primary-light: #2442a8;
  --primary-subtle: #eef2fa;
  --secondary: #feb711;
  --secondary-hover: #e5a408;
  --secondary-light: #fff8e6;
  --secondary-glow: rgba(254, 183, 17, 0.25);
  
  /* Neutral Palette */
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --border-focus: #feb711;

  /* Accent & Functional */
  --success: #10B981;
  --success-bg: #ECFDF5;
  --navy-mesh: radial-gradient(circle at 15% 15%, rgba(254, 183, 17, 0.12) 0%, transparent 45%),
               radial-gradient(circle at 90% 90%, rgba(36, 66, 168, 0.4) 0%, transparent 50%),
               #182e7b;

  /* Arabic Typography */
  --font-sans: 'Tajawal', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* WhatsApp Brand Palette */
  --whatsapp: #25D366;
  --whatsapp-hover: #1eb857;
  --whatsapp-dark: #128C7E;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 40px -8px rgba(24, 46, 123, 0.22);
  --shadow-form: 0 25px 50px -12px rgba(15, 23, 42, 0.35);

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base RTL Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  text-align: right;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  direction: rtl;
  text-align: right;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  direction: rtl;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.text-gold {
  color: var(--secondary);
}

.text-white {
  color: #FFFFFF;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  border: 1px solid rgba(24, 46, 123, 0.12);
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-tag.gold {
  background: var(--secondary-light);
  color: #925f00;
  border-color: rgba(254, 183, 17, 0.35);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 800;
  border-color: var(--secondary);
  box-shadow: 0 4px 14px rgba(254, 183, 17, 0.4);
}

.btn-accent:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 183, 17, 0.5);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: #FFFFFF;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  border: 1px solid rgba(24, 46, 123, 0.15);
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  direction: ltr;
}

.btn-phone:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-phone svg {
  color: var(--secondary);
  fill: currentColor;
}

.phone-nav-text {
  white-space: nowrap;
  display: inline-block;
  direction: ltr;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

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

.footer-logo-img {
  height: 56px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
  display: block;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

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

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--navy-mesh);
  color: #FFFFFF;
  padding: 64px 0 80px;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(254, 183, 17, 0.15);
  border: 1px solid rgba(254, 183, 17, 0.4);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-badge.blue {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.hero-title {
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-trust-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 36px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.trust-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.hero-contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

.hero-phone-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-cta-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.phone-cta-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  direction: ltr;
  text-align: right;
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: var(--whatsapp);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px var(--whatsapp-glow);
  transition: var(--transition);
  text-decoration: none;
}

.btn-whatsapp-hero:hover {
  background: var(--whatsapp-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp-hero svg {
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   LEAD CAPTURE FORM (HERO & EMBEDDED)
   ========================================================================== */
.lead-form-card {
  background: var(--bg-white);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-form);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 10;
  text-align: right;
}

.lead-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-header {
  margin-bottom: 20px;
  text-align: right;
}

.form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.35;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.form-group label .required {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: right;
  direction: rtl;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 46, 123, 0.12);
}

.form-control::placeholder {
  color: var(--text-light);
  opacity: 0.9;
}

/* RTL Select Element styling */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23182e7b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px;
  padding-left: 40px;
  padding-right: 14px;
}

.form-submit-btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 1.05rem;
  margin-top: 4px;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  box-sizing: border-box;
}

.form-submit-btn svg {
  flex-shrink: 0;
}

.form-footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.form-footer-note svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ==========================================================================
   TRUST & ACCREDITATION BAR
   ========================================================================== */
.trust-bar-section {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-bar-heading {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  max-width: 200px;
  line-height: 1.5;
  border-right: 3px solid var(--secondary);
  border-left: none;
  padding-right: 12px;
  padding-left: 0;
  text-align: right;
}

.trust-badges-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex: 1;
  flex-wrap: wrap;
}

.accreditation-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.accreditation-pill:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.accred-logo-mark {
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--primary);
  padding: 4px 10px;
  background: #FFFFFF;
  border-radius: 4px;
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
  direction: ltr;
}

.accred-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.accred-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.accred-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   METRICS COUNTER STRIP
   ========================================================================== */
.metrics-section {
  padding: 48px 0;
  background: var(--primary);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-item {
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -16px;
  right: auto;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.metric-value {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-section {
  padding: 96px 0;
  background: var(--bg);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  text-align: right;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 46, 123, 0.3);
  box-shadow: var(--shadow-lg);
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(24, 46, 123, 0.12);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: var(--secondary);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 600;
}

.service-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.service-card-btn {
  width: 100%;
  padding: 11px 16px;
  font-size: 0.9rem;
}

/* ==========================================================================
   WHY CHOOSE US / VALUE PROPOSITION
   ========================================================================== */
.why-us-section {
  padding: 96px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  padding: 36px 28px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: right;
}

.why-card:hover {
  background: var(--bg-white);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.why-card-num {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 12px;
  display: inline-block;
  direction: ltr;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   VALUATION PROCESS SECTION (4 STEPS)
   ========================================================================== */
.process-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

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

.process-card {
  background: var(--bg-white);
  padding: 28px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  text-align: right;
}

.process-step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 96px 0;
  background: var(--bg-white);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(24, 46, 123, 0.3);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  text-align: right;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-content {
  padding: 0 24px 22px;
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  text-align: right;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner-section {
  background: var(--navy-mesh);
  color: #FFFFFF;
  padding: 72px 0;
  text-align: center;
  position: relative;
}

.cta-banner-inner {
  max-width: 840px;
  margin: 0 auto;
}

.cta-banner-inner h2 {
  color: #FFFFFF;
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  margin-bottom: 16px;
}

.cta-banner-inner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.75;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0d183f;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
  font-size: 0.925rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
}

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

.footer-brand p {
  margin-top: 14px;
  line-height: 1.7;
  font-size: 0.9rem;
  max-width: 360px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 800;
}

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

.footer-links a:hover {
  color: var(--secondary);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR (High Conversion UAE Ads)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  direction: rtl;
}

.mobile-sticky-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.1fr;
  gap: 8px;
  width: 100%;
}

.mobile-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 6px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: var(--transition);
  border: none;
  outline: none;
  box-sizing: border-box;
}

.mobile-bar-call {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}

.mobile-bar-call svg {
  fill: var(--secondary) !important;
}

.mobile-bar-call:hover {
  background: var(--primary-light) !important;
}

.mobile-bar-wa {
  background: var(--whatsapp) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px var(--whatsapp-glow);
}

.mobile-bar-wa svg {
  fill: #FFFFFF !important;
}

.mobile-bar-wa:hover {
  background: var(--whatsapp-hover) !important;
}

.mobile-bar-quote {
  background: var(--secondary) !important;
  color: var(--primary-dark) !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(254, 183, 17, 0.35);
}

.mobile-bar-quote svg {
  stroke: var(--primary-dark);
}

.mobile-bar-quote:hover {
  background: var(--secondary-hover) !important;
}

/* ==========================================================================
   CONFIRMATION / THANK YOU PAGE
   ========================================================================== */
.thank-you-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thank-you-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.thank-you-card {
  background: var(--bg-white);
  max-width: 640px;
  width: 100%;
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  text-align: center;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.thank-you-card h1 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--primary);
  line-height: 1.35;
}

.thank-you-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.sla-notice-box {
  background: var(--primary-subtle);
  border: 1px solid rgba(24, 46, 123, 0.15);
  border-right: 4px solid var(--primary);
  border-left: 1px solid rgba(24, 46, 123, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 32px;
  text-align: right;
}

.sla-notice-header {
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sla-notice-box p {
  font-size: 0.925rem;
  margin-bottom: 0;
  color: var(--text-main);
  line-height: 1.65;
}

.thank-you-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET (RTL Positioned on Left)
   ========================================================================== */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: auto;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #FFFFFF !important;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid #FFFFFF;
}

.whatsapp-floating-widget:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

.whatsapp-floating-icon {
  width: 42px;
  height: 42px;
  background: #FFFFFF;
  color: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-floating-icon svg {
  fill: var(--whatsapp);
}

.whatsapp-floating-label {
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
  color: #FFFFFF !important;
}

.whatsapp-floating-widget::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: var(--whatsapp);
  opacity: 0.4;
  z-index: -1;
  animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  body {
    padding-bottom: 72px !important; /* space for mobile sticky bar */
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header adjustments */
  .site-header {
    height: 64px;
  }

  .site-header .nav-container {
    height: 64px;
    padding: 0 16px;
    gap: 8px;
    justify-content: space-between;
    overflow: hidden;
  }

  .logo-wrapper {
    flex-shrink: 0;
  }

  .logo-img {
    height: 34px !important;
    width: auto !important;
    max-width: 120px !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .phone-nav-text {
    display: none !important;
  }

  .btn-phone {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--radius-sm) !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }

  .btn-phone svg {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
  }

  .nav-quote-btn {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Hero adjustments */
  .hero-section {
    padding: 24px 0 40px;
  }

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

  .hero-title {
    font-size: clamp(1.65rem, 5.8vw, 2.1rem);
    line-height: 1.3;
    margin-bottom: 14px;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.975rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .hero-trust-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero-contact-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 16px;
  }

  .hero-phone-cta {
    width: 100%;
    justify-content: space-between;
  }

  .btn-whatsapp-hero {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Form adjustments */
  .hero-form-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .lead-form-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .form-title {
    font-size: 1.25rem;
  }

  .form-subtitle {
    font-size: 0.85rem;
  }

  .form-control {
    font-size: 0.925rem;
    padding: 11px 12px;
    box-sizing: border-box;
    max-width: 100%;
  }

  select.form-control {
    padding-left: 36px;
    padding-right: 12px;
    font-size: 0.875rem;
  }

  .form-submit-btn {
    font-size: 0.975rem;
    padding: 13px 14px;
    white-space: normal;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    line-height: 1.4;
  }

  /* Accreditations bar */
  .trust-bar-section {
    padding: 20px 0;
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .trust-bar-heading {
    text-align: center;
    width: 100%;
    padding-right: 0;
    border-right: none;
    font-size: 0.875rem;
  }

  .trust-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .accreditation-pill {
    padding: 8px 10px;
    gap: 8px;
    box-sizing: border-box;
  }

  .accred-title {
    font-size: 0.8rem;
  }

  .accred-subtitle {
    font-size: 0.7rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .metric-item:nth-child(2)::after {
    display: none;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Mobile Sticky Bar & Floating Widget */
  .mobile-sticky-bar {
    display: block !important;
  }

  .whatsapp-floating-widget {
    bottom: 80px;
    left: 16px;
    right: auto;
    padding: 6px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    justify-content: center;
  }

  .whatsapp-floating-icon {
    width: 34px;
    height: 34px;
    background: transparent;
    color: #FFFFFF;
  }

  .whatsapp-floating-icon svg {
    fill: #FFFFFF;
    width: 28px;
    height: 28px;
  }

  .whatsapp-floating-label {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .logo-img {
    height: 30px !important;
    max-width: 100px !important;
  }

  .nav-quote-btn {
    padding: 7px 10px !important;
    font-size: 0.75rem !important;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-actions {
    gap: 5px;
  }

  .mobile-bar-btn {
    font-size: 0.775rem;
    padding: 9px 4px;
  }
}
