/* ==========================================================================
   Custom Sofa Riyadh (تفصيل كنب ومجالس بالرياض)
   Bilingual & Responsive Luxury Stylesheet (RTL & LTR)
   ========================================================================== */

:root {
  --font-ar-heading: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-ar-body: 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-en: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color System */
  --bg-dark: #0a0e17;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(28, 38, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);

  --gold-300: #f3de9e;
  --gold-400: #e2be67;
  --gold-500: #c59d5f;
  --gold-600: #a47d3e;
  --gold-gradient: linear-gradient(135deg, #fae29c 0%, #c59d5f 50%, #926d2e 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.22);

  --whatsapp-color: #25D366;
  --whatsapp-hover: #1ebd5a;
  --whatsapp-glow: 0 4px 20px rgba(37, 211, 102, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

/* Prevent unwanted automatic zoom on mobile devices */
input, select, textarea {
  font-size: 16px !important;
  touch-action: manipulation;
}

/* ==========================================================================
   Language & Direction Core
   ========================================================================== */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: var(--font-ar-body);
}

html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4, 
html[dir="rtl"] h5, 
html[dir="rtl"] h6 {
  font-family: var(--font-ar-heading);
}

html[dir="ltr"] {
  direction: ltr;
  text-align: left;
  font-family: var(--font-en);
}

html[dir="ltr"] h1, 
html[dir="ltr"] h2, 
html[dir="ltr"] h3, 
html[dir="ltr"] h4, 
html[dir="ltr"] h5, 
html[dir="ltr"] h6 {
  font-family: var(--font-en);
  letter-spacing: -0.02em;
}

/* Google Translate Protection & Automatic LTR Synchronization */
html.translated-ltr,
html.translated-ltr body {
  direction: ltr !important;
  text-align: left !important;
  font-family: var(--font-en) !important;
}

html.translated-ltr h1, 
html.translated-ltr h2, 
html.translated-ltr h3, 
html.translated-ltr h4, 
html.translated-ltr h5, 
html.translated-ltr h6 {
  font-family: var(--font-en) !important;
  letter-spacing: -0.02em !important;
}

html.translated-ltr .hero-floating-stat {
  left: -20px !important;
  right: auto !important;
}

html.translated-ltr .service-badge {
  left: 14px !important;
  right: auto !important;
}

html.translated-ltr .service-link svg {
  transform: rotate(180deg) !important;
}

html.translated-ltr .footer-col h4::after {
  left: 0 !important;
  right: auto !important;
}

html.translated-ltr .footer-links a:hover {
  padding-left: 4px !important;
  padding-right: 0 !important;
}

html.translated-ltr .mobile-drawer {
  left: 0 !important;
  right: auto !important;
  transform: translateX(-100%);
}

html.translated-ltr .mobile-drawer.active {
  transform: translateX(0) !important;
}

html.translated-ltr .floating-actions {
  right: 14px !important;
  left: auto !important;
}

/* Prevent Google Translate font tags from breaking flex & grid layouts */
font {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
  display: contents !important;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 157, 95, 0.12) 0%, rgba(10, 14, 23, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(197, 157, 95, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-400);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

.btn-primary {
  background: var(--gold-gradient);
  color: #0b0f17;
  box-shadow: 0 4px 20px rgba(197, 157, 95, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(197, 157, 95, 0.5);
  filter: brightness(1.08);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  box-shadow: var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Streamlined Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo img,
.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 10px rgba(197, 157, 95, 0.2);
  flex-shrink: 0;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--gold-400);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 3px;
}

/* Clean Desktop Menu (5 items) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
}

/* Services Dropdown (Desktop) */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-toggle svg {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg,
.nav-item-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 230px;
  background: #111827;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), var(--gold-glow);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

html[dir="ltr"] .nav-dropdown-menu {
  right: auto;
  left: 0;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-dropdown-menu li:last-child .nav-dropdown-link {
  border-bottom: none;
}

.nav-dropdown-link:hover {
  background: rgba(197, 157, 95, 0.16);
  color: var(--gold-400);
  padding-right: 22px;
}

html[dir="ltr"] .nav-dropdown-link:hover {
  padding-right: 18px;
  padding-left: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--whatsapp-color);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.header-wa-btn:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.header-wa-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Premium Language Switcher Buttons (Header, Menu & Drawer)
   ========================================================================== */
.lang-switch-btn,
.menu-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(197, 157, 95, 0.22) 0%, rgba(28, 38, 59, 0.8) 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: #fae29c;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.lang-switch-btn:hover,
.menu-lang-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(197, 157, 95, 0.25) 100%);
  border-color: #fae29c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.lang-switch-btn:active,
.menu-lang-btn:active {
  transform: translateY(0);
}

.nav-lang-item {
  display: flex;
  align-items: center;
}

.drawer-lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(197, 157, 95, 0.25) 0%, rgba(28, 38, 59, 0.85) 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: #fae29c;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  margin-bottom: 14px;
}

.drawer-lang-toggle:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(197, 157, 95, 0.3) 100%);
  border-color: #fae29c;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.globe-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold-300);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(197, 157, 95, 0.1);
  border: 1px solid var(--border-gold);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Mobile Slide-out Navigation Drawer
   ========================================================================== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
}

.mobile-overlay.active {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: #0f1624;
  border-inline-end: 1px solid var(--border-gold);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Direction aware drawer positioning */
html[dir="rtl"] .mobile-drawer {
  right: 0;
  transform: translateX(100%);
}
html[dir="rtl"] .mobile-drawer.active {
  transform: translateX(0);
}

html[dir="ltr"] .mobile-drawer {
  left: 0;
  transform: translateX(-100%);
}
html[dir="ltr"] .mobile-drawer.active {
  transform: translateX(0);
}

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

.drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.drawer-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-400);
}

/* Mobile Drawer Submenu */
.drawer-submenu {
  list-style: none;
  padding: 4px 14px 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-sublink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-sublink:hover,
.drawer-sublink.active {
  color: var(--gold-400);
  background: rgba(197, 157, 95, 0.14);
  border-color: var(--border-gold);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 157, 95, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.hero-badge svg {
  color: var(--gold-400);
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
}

.hero-title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-bottom: 34px;
  list-style: none;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #e2e8f0;
}

.hero-feature-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

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

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: -20px;
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

html[dir="rtl"] .hero-floating-stat {
  right: -20px;
}

html[dir="ltr"] .hero-floating-stat {
  left: -20px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 157, 95, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

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

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

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.trust-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-section {
  padding: 90px 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), var(--gold-glow);
}

.service-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.service-badge {
  position: absolute;
  top: 14px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-300);
}

html[dir="rtl"] .service-badge {
  right: 14px;
}
html[dir="ltr"] .service-badge {
  left: 14px;
}

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

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.service-price {
  font-size: 0.9rem;
  color: var(--gold-300);
  font-weight: 700;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-400);
}

/* Arrow flip in LTR */
html[dir="ltr"] .service-link svg {
  transform: rotate(180deg);
}

.service-card:hover .service-link {
  gap: 10px;
}

/* ==========================================================================
   Interactive Price Estimator
   ========================================================================== */
.calculator-section {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 50%, var(--bg-dark) 100%);
  position: relative;
}

.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(197, 157, 95, 0.12);
  padding: 38px 40px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.calc-inputs, .calc-form {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-field {
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f1f5f9;
}

.calc-select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  background: #162032;
  border: 1px solid rgba(197, 157, 95, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  box-sizing: border-box;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calc-select:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 2px rgba(197, 157, 95, 0.25);
}

.calc-select option {
  background: #0f172a;
  color: #ffffff;
  padding: 10px;
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.calc-range {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: #162032;
  border: 1px solid rgba(197, 157, 95, 0.3);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfc08a, #c59d5f);
  border: 3px solid #0b0f17;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-range::-webkit-slider-thumb:hover,
.calc-range::-webkit-slider-thumb:active {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(197, 157, 95, 0.6);
}

.calc-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfc08a, #c59d5f);
  border: 3px solid #0b0f17;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.range-val {
  min-width: 84px;
  padding: 8px 14px;
  background: #162032;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 800;
  color: var(--gold-300);
  font-size: 0.96rem;
  flex-shrink: 0;
  box-sizing: border-box;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.calc-result-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.calc-estimate-title {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.calc-estimate-amount {
  font-size: clamp(2rem, 5.5vw, 2.75rem);
  font-weight: 900;
  color: var(--gold-400);
  margin-bottom: 6px;
  line-height: 1.2;
  word-break: break-word;
  letter-spacing: -0.5px;
}

.calc-estimate-note {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.6;
}

.calc-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   Showcase Gallery
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
}

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

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 22px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-gradient);
  color: #0a0e17;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(197, 157, 95, 0.3);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 23, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  padding: 90px 0;
  background: var(--bg-surface);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-point-icon {
  width: 36px;
  height: 36px;
  background: rgba(197, 157, 95, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 4px;
}

.about-point h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-point p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-images-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.collage-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.collage-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.collage-item.offset {
  transform: translateY(30px);
}

/* Flip chevron on button in LTR */
html[dir="ltr"] #visitFactoryBtn svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   Steps Section
   ========================================================================== */
.steps-section {
  padding: 90px 0;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 56px;
  height: 56px;
  background: rgba(197, 157, 95, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-300);
  margin: 0 auto 20px;
}

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

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

/* ==========================================================================
   Tips Section
   ========================================================================== */
.tips-section {
  padding: 90px 0;
  background: var(--bg-surface);
}

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

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition-smooth);
}

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

.tip-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(197, 157, 95, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 20px;
}

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

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 90px 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.quote-text {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 24px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 157, 95, 0.2);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold-300);
}

.client-name {
  font-size: 1rem;
  font-weight: 700;
}

.client-district {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Districts Coverage
   ========================================================================== */
.districts-section {
  padding: 80px 0;
  background: var(--bg-surface);
  text-align: center;
}

.districts-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 30px;
}

.district-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  position: relative;
}

.faq-accordion,
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #111827 !important;
  background: rgba(17, 24, 39, 0.95) !important;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.45) !important;
  background: rgba(20, 29, 47, 0.98) !important;
}

.faq-item.active {
  border-color: var(--gold-400) !important;
  background: rgba(22, 33, 54, 0.98) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), 0 0 16px rgba(212, 175, 55, 0.15);
}

.faq-header,
button.faq-header {
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
  text-align: inherit;
  font-family: inherit;
  font-size: inherit;
  color: #ffffff !important;
  transition: background 0.25s ease;
}

.faq-header:hover,
button.faq-header:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

.faq-header:focus-visible,
button.faq-header:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: -2px;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0;
  text-align: inherit;
  line-height: 1.5;
  flex: 1;
}

.faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 0.85rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--gold-400);
  color: #0b0f19;
}

.faq-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-body {
  padding: 0 24px 24px;
  max-height: 500px;
}

.faq-answer,
.faq-body p {
  color: #cbd5e1 !important;
  font-size: 1rem;
  line-height: 1.85;
  margin: 0;
}

/* ==========================================================================
   Final Conversion Banner
   ========================================================================== */
.final-cta-section {
  padding: 90px 0;
}

.final-cta-card {
  background: linear-gradient(135deg, rgba(27, 38, 59, 0.9) 0%, rgba(13, 19, 31, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.final-cta-card h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  margin-bottom: 18px;
}

.final-cta-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 32px;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #06090f;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  color: var(--text-muted);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 32px;
  height: 2px;
  background: var(--gold-400);
}

html[dir="rtl"] .footer-col h4::after {
  right: 0;
}
html[dir="ltr"] .footer-col h4::after {
  left: 0;
}

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

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

html[dir="rtl"] .footer-links a:hover {
  padding-right: 4px;
}
html[dir="ltr"] .footer-links a:hover {
  padding-left: 4px;
}

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

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

.footer-contact-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Align floating buttons based on language */
html[dir="rtl"] .floating-actions {
  left: 24px;
}
html[dir="ltr"] .floating-actions {
  right: 24px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn:hover {
  transform: scale(1.06) translateY(-2px);
}

.float-whatsapp {
  background: var(--whatsapp-color);
  color: #ffffff;
  box-shadow: var(--whatsapp-glow);
}

.float-call {
  background: var(--gold-gradient);
  color: #0b0f17;
  box-shadow: 0 4px 20px rgba(197, 157, 95, 0.4);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gold);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

html[dir="rtl"] .lightbox-close {
  right: 0;
}
html[dir="ltr"] .lightbox-close {
  right: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-features-list {
    max-width: 500px;
    margin: 0 auto 34px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-floating-stat {
    bottom: -15px;
  }
  html[dir="rtl"] .hero-floating-stat {
    right: 20px;
  }
  html[dir="ltr"] .hero-floating-stat {
    left: 20px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-section {
    padding: 55px 0;
  }
  .calc-box {
    padding: 32px 24px;
    max-width: 100%;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .calc-result-card {
    padding: 26px 20px;
  }
  .calc-tips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .phone-badge {
    display: none;
  }
  .header-actions .header-wa-btn span {
    display: none;
  }
  .header-actions .header-wa-btn {
    padding: 8px;
    border-radius: 50%;
    min-width: 38px;
    height: 38px;
    justify-content: center;
  }
  .mobile-toggle {
    display: block;
  }
  .calculator-section {
    padding: 40px 0;
  }
  .calc-box {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }
  .calc-grid {
    gap: 22px;
  }
  .calc-field {
    margin-bottom: 16px;
  }
  .calc-label {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  .calc-select {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 48px;
  }
  .range-wrap {
    gap: 12px;
  }
  .calc-range {
    height: 10px;
  }
  .calc-range::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
  }
  .calc-range::-moz-range-thumb {
    width: 32px;
    height: 32px;
  }
  .range-val {
    min-width: 76px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .calc-result-card {
    padding: 22px 14px;
    border-radius: var(--radius-md);
  }
  .calc-estimate-title {
    font-size: 0.92rem;
  }
  .calc-estimate-amount {
    font-size: 2.15rem;
    margin-bottom: 4px;
  }
  .calc-estimate-note {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }
  .calc-tips-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .calc-tips-grid > div {
    padding: 20px 16px !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .floating-actions {
    bottom: 14px;
  }
  html[dir="rtl"] .floating-actions {
    left: 14px;
  }
  html[dir="ltr"] .floating-actions {
    right: 14px;
  }
  .float-btn span {
    display: none;
  }
  .float-btn {
    padding: 14px;
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .calc-box {
    padding: 18px 12px;
  }
  .range-wrap {
    gap: 10px;
  }
  .range-val {
    min-width: 70px;
    padding: 6px 8px;
    font-size: 0.85rem;
  }
  .calc-result-card {
    padding: 18px 12px;
  }
  .calc-estimate-amount {
    font-size: 1.85rem;
  }
  #whatsappQuoteBtn {
    font-size: 0.94rem !important;
    padding: 12px 12px !important;
  }
}

@media (max-width: 420px) {
  .brand-logo-img {
    width: 40px;
    height: 40px;
  }
  .brand-subtitle {
    display: none;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .lang-switch-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Multi-Page Website Components (Subpage Hero, Breadcrumbs, Curtains & Forms)
   ========================================================================== */

/* Page Hero Banner */
.page-hero {
  padding: 55px 0 45px;
  background: radial-gradient(circle at 50% 20%, rgba(197, 157, 95, 0.16) 0%, rgba(10, 14, 23, 0) 75%), #0c121e;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--gold-400);
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.page-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.page-hero-desc {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Curtains & Blinds Showcase */
.curtains-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.curtains-intro-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), var(--gold-glow);
  object-fit: cover;
  max-height: 440px;
}

.curtains-feature-list {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curtains-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-main);
}

.curtains-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
}

.curtains-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.curtain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.curtain-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), var(--gold-glow);
}

.curtain-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: #151d2c;
}

.curtain-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.curtain-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

html[dir="ltr"] .curtain-card-badge {
  right: auto;
  left: 14px;
}

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

.curtain-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.curtain-card-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.curtain-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.curtain-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(197, 157, 95, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.curtain-card-btn:hover {
  background: var(--gold-gradient);
  color: #0b0f17;
  box-shadow: 0 4px 14px rgba(197, 157, 95, 0.4);
}

/* Contact Page Grid & Form */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: #182234;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 16px !important;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--gold-gradient);
  color: #0b0f17;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(197, 157, 95, 0.4);
  transition: all 0.25s ease;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(197, 157, 95, 0.6);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  height: 280px;
  margin-top: 24px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Service Specs Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 580px;
}

html[dir="ltr"] .custom-table {
  text-align: left;
}

.custom-table th {
  background: #141c2c;
  color: var(--gold-300);
  font-size: 0.94rem;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-gold);
  font-weight: 700;
}

.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.92rem;
  background: var(--bg-card);
}

.custom-table tr:hover td {
  background: rgba(197, 157, 95, 0.08);
}

/* Mobile Media Queries for Multi-Page Components */
@media (max-width: 1024px) {
  .curtains-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .curtains-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .curtains-feature-list {
    align-items: center;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 38px 0 28px;
  }
  .page-hero-title {
    font-size: 1.6rem;
  }
  .curtains-catalog-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-box {
    padding: 22px 16px;
  }
}
