/* ==========================================================================
   Jurist Fadheela Al-Fatlawi - Official Legal Chambers
   Theme: High-End Imperial Luxury & Prestige (الفخامة والرقي القانوني)
   Palette: Deep Obsidian Midnight, Royal Navy, Majestic Champagne Gold, Emerald
   Design: Clean, Simple, Prestigious, Mobile-First
   ========================================================================== */

:root {
  --bg-main: #060D18;
  --bg-card: #0D1A2D;
  --bg-card-alt: #11233D;
  --bg-surface: #152A47;
  
  --color-obsidian: #040810;
  --color-navy: #081426;
  --color-navy-surface: #0F223D;
  --color-navy-light: #1A345B;
  
  --color-gold: #D4AF37;
  --color-gold-rich: #C5A059;
  --color-gold-bright: #F7E7B4;
  --color-gold-hover: #BF9522;
  --color-gold-light: rgba(212, 175, 55, 0.12);
  --color-gold-border: rgba(212, 175, 55, 0.32);
  --color-gold-glow: rgba(212, 175, 55, 0.22);
  
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5D;
  --color-whatsapp-light: #EBFBF1;
  
  --color-text-dark: #0F172A;
  --color-text-light: #F8FAFC;
  --color-text-muted: #94A3B8;
  --color-text-dim: #64748B;
  --color-border: rgba(212, 175, 55, 0.2);
  --color-border-subtle: rgba(255, 255, 255, 0.08);

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

  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);

  --font-main: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'IBM Plex Sans Arabic', 'Tajawal', 'Cairo', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html, body {
  overflow-x: hidden;
  position: relative;
}

body.store-layout {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--color-text-light);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ==========================================================================
   Animated Logo Intro Splash Screen
   ========================================================================== */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #0F233E 0%, #040810 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s;
  cursor: pointer;
}

.intro-splash.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  pointer-events: none;
}

.intro-glow-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  animation: auraPulse 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auraPulse {
  0% { transform: scale(0.9); opacity: 0.3; }
  100% { transform: scale(1.25); opacity: 0.65; }
}

.intro-box {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 440px;
  width: 100%;
  background: rgba(8, 20, 38, 0.85);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.2);
  animation: introCardPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes introCardPop {
  0% { opacity: 0; transform: translateY(24px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-seal-wrapper {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.intro-seal-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.45));
  animation: sealShimmer 2.5s ease-in-out infinite alternate;
}

@keyframes sealShimmer {
  0% { transform: translateY(0) scale(1); filter: drop-shadow(0 6px 16px rgba(212, 175, 55, 0.35)); }
  100% { transform: translateY(-4px) scale(1.03); filter: drop-shadow(0 12px 28px rgba(212, 175, 55, 0.55)); }
}

.intro-main-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.intro-subtitle {
  font-size: 0.95rem;
  color: var(--color-gold-bright);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.intro-bar-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.intro-quote-text {
  font-size: 0.92rem;
  font-style: italic;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  padding-inline: 0.5rem;
}

.btn-enter-site {
  width: 100%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-rich) 100%);
  color: var(--color-obsidian);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.25s;
}

.btn-enter-site:hover {
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   Ambient Floating Lights
   ========================================================================== */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.orb-gold-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
  top: -100px;
  right: -80px;
}

.orb-navy-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22, 52, 91, 0.6) 0%, transparent 70%);
  top: 35%;
  left: -150px;
}

.orb-gold-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
  bottom: 5%;
  right: -50px;
}

/* ==========================================================================
   Top Micro Bar
   ========================================================================== */
.store-top-bar {
  background: rgba(4, 8, 16, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 0.45rem;
  font-size: 0.8rem;
  position: relative;
  z-index: 100;
}

.top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-whatsapp);
}

.bar-separator {
  color: rgba(255, 255, 255, 0.2);
}

.free-tag {
  color: #4ADE80;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-light);
  font-weight: 600;
  transition: color 0.2s;
}

.top-contact-link:hover {
  color: var(--color-gold-bright);
}

.top-contact-link svg {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.en-link {
  color: var(--color-gold);
  font-size: 0.76rem;
  border: 1px solid var(--color-gold-border);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.store-header {
  background: rgba(8, 20, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  padding-block: 0.65rem;
  position: sticky;
  top: 0;
  z-index: 90;
}

.store-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex-shrink: 1;
  text-decoration: none;
}

.store-brand-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-main-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-display);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub-spec {
  font-size: 0.74rem;
  color: var(--color-gold);
  font-weight: 600;
  white-space: nowrap;
}

.store-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-nav-vcard {
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-gold-bright);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-nav-vcard:hover {
  background: rgba(212, 175, 55, 0.26);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.btn-nav-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.btn-nav-wa:hover {
  background: linear-gradient(135deg, #2FE070 0%, #17A090 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.45);
}

.btn-nav-call,
.btn-nav-install {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-nav-call:hover,
.btn-nav-install:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
}

/* ==========================================================================
   Simplified Imperial Hero Showcase
   ========================================================================== */
.store-hero {
  padding-block: 2.5rem 2rem;
  position: relative;
  z-index: 10;
}

.clean-hero-card {
  background: linear-gradient(135deg, rgba(13, 26, 45, 0.92) 0%, rgba(7, 14, 26, 0.95) 100%);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-card), 0 0 35px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 960px;
  margin-inline: auto;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold-bright);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-chip svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
}

.clean-hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.clean-hero-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.clean-hero-desc strong {
  color: var(--color-gold-bright);
}

.store-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.metric-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.25s;
}

.metric-chip:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--color-gold-border);
  transform: translateY(-2px);
}

.chip-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-gold-bright);
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.chip-lbl {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.free-chip {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.05);
}

.free-chip .chip-num {
  color: #4ADE80;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-size: 1.02rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #2FE070 0%, #17A090 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  font-size: 1rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
}

.btn-hero-secondary:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section Headers Styling
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.section-kicker {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.section-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-display);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.section-subheading {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Section 1: Legal Pillars Grid
   ========================================================================== */
.legal-pillars-section {
  padding-block: 2.5rem 3rem;
  position: relative;
  z-index: 10;
}

.legal-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: linear-gradient(145deg, #0E1F38 0%, #081426 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card-hover), 0 0 20px rgba(212, 175, 55, 0.15);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-gold-bright);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  line-height: 1.4;
}

.pillar-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pillar-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.2);
  align-self: flex-start;
}

/* ==========================================================================
   Section 2: Did You Know (هل تعلم القانونية)
   ========================================================================== */
.legal-facts-section {
  padding-block: 2.5rem 3rem;
  background: rgba(4, 10, 20, 0.5);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 10;
}

.legal-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.fact-card {
  background: linear-gradient(135deg, rgba(17, 35, 61, 0.85) 0%, rgba(8, 18, 33, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.fact-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card-hover), 0 0 25px rgba(212, 175, 55, 0.18);
}

.fact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  align-self: flex-start;
  border: 1px solid var(--color-gold-border);
}

.fact-badge svg {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.fact-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  line-height: 1.4;
}

.fact-body {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}

.fact-ref {
  font-size: 0.78rem;
  color: var(--color-gold-rich);
  font-weight: 700;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
}

/* ==========================================================================
   Section 3: Timeless Legal Maxims (مقولات قضائية)
   ========================================================================== */
.legal-quotes-section {
  padding-block: 2.5rem 3.5rem;
  position: relative;
  z-index: 10;
}

.legal-quotes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quote-card {
  background: rgba(14, 31, 56, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.quote-card:hover {
  background: rgba(14, 31, 56, 0.9);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.quote-mark {
  font-size: 3rem;
  font-family: serif;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: -0.5rem;
  opacity: 0.7;
}

.quote-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.quote-author {
  font-size: 0.8rem;
  color: var(--color-gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   Section 4: Consultation Form & Business Card
   ========================================================================== */
.store-order-box-section {
  padding-block: 2rem 3.5rem;
  position: relative;
  z-index: 10;
}

.order-box-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.order-form-panel {
  background: linear-gradient(135deg, #0D1A2D 0%, #070E1A 100%);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.25rem;
}

.panel-header svg {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.panel-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.panel-header p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.store-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.store-form input,
.store-form select,
.store-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  outline: none;
}

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

.store-form select option {
  background: #081426;
  color: #FFFFFF;
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 0.95rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  margin-top: 0.5rem;
}

.btn-submit-order:hover {
  background: linear-gradient(135deg, #2FE070 0%, #17A090 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Digital Business Card */
.order-qr-panel {
  display: flex;
  justify-content: center;
}

.business-contact-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  color: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  width: 100%;
  border: 1px solid var(--color-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-logo-small {
  width: 64px;
  height: 64px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.3));
}

.business-contact-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.qr-location-text {
  font-size: 0.82rem;
  color: var(--color-gold-rich);
  font-weight: 700;
  display: block;
  margin-bottom: 1.25rem;
}

.business-card-meta {
  width: 100%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: right;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  font-weight: 600;
}

.meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-rich);
  flex-shrink: 0;
}

.btn-vcard-action {
  width: 100%;
  background: linear-gradient(135deg, #081426 0%, #162E52 100%);
  color: #FFFFFF;
  border: 1px solid var(--color-gold);
  font-size: 0.92rem;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(8, 20, 38, 0.2);
}

.btn-vcard-action:hover {
  background: linear-gradient(135deg, #0E1F38 0%, #1E3E6E 100%);
  color: var(--color-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 20, 38, 0.3);
}

.btn-install-action {
  width: 100%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-navy);
  border: 1px solid var(--color-gold);
  font-size: 0.88rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.btn-install-action:hover {
  background: rgba(212, 175, 55, 0.22);
  color: var(--color-obsidian);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.store-footer {
  background: rgba(4, 8, 16, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 2.5rem 2rem;
  position: relative;
  z-index: 10;
}

.store-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-col-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.footer-clean-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  display: block;
  margin-inline: auto;
  align-self: center;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 10px rgba(212, 175, 55, 0.35));
}

.footer-phones {
  color: var(--color-gold-bright);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-col-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.trust-badge {
  color: var(--color-gold);
  font-weight: 700;
  border: 1px solid var(--color-gold-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   PWA Installation Modal
   ========================================================================== */
.welcome-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.welcome-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.welcome-modal-box {
  background: linear-gradient(135deg, #070E1A 0%, #0F233E 100%);
  color: #FFFFFF;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.2);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-modal-overlay.active .welcome-modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
}

.modal-logo-center {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.modal-clean-logo {
  height: 65px;
  width: auto;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
}

.modal-store-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  text-align: center;
}

.modal-store-sub {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-align: center;
}

.install-method-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: right;
}

.install-prompt-text {
  font-size: 0.92rem;
  color: #E2E8F0;
  margin-bottom: 1rem;
  text-align: center;
}

.btn-install-now {
  width: 100%;
}

.ios-instructions {
  background: rgba(255, 255, 255, 0.05);
}

.ios-heading {
  font-size: 0.95rem;
  color: var(--color-gold-bright);
  margin-bottom: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ios-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.ios-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #CBD5E1;
}

.step-num {
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}

.step-txt {
  flex: 1;
}

.step-txt strong {
  color: #FFFFFF;
}

.ios-share-svg {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  margin: 0 4px;
}

.modal-dismiss-link {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 0.84rem;
  cursor: pointer;
  text-decoration: underline;
  display: block;
  margin: 0 auto;
}

.modal-dismiss-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Real Mobile Navigation Bar (Solid Native App Tab Bar)
   ========================================================================== */
.real-mobile-navbar {
  display: none;
}

/* ==========================================================================
   Mobile-First Responsive Rules (iPhone & Android Perfection)
   ========================================================================== */
@media (max-width: 900px) {
  .legal-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-box-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hide-on-compact {
    display: none;
  }

  body.store-layout {
    padding-bottom: 70px; /* space for sticky bar */
  }

  /* Top Micro Bar on Mobile */
  .store-top-bar {
    padding-block: 0.35rem;
    font-size: 0.74rem;
  }
  .top-bar-flex {
    justify-content: center;
    text-align: center;
  }
  .top-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .top-location {
    display: none;
  }

  /* 1. Header & True Navigation Bar on Mobile */
  .store-header {
    padding-block: 0.45rem;
  }
  .store-header-flex {
    gap: 0.4rem;
  }
  .store-brand-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
  }
  .brand-main-name {
    font-size: 0.88rem;
  }
  .brand-sub-spec {
    font-size: 0.65rem;
  }
  .store-header-actions {
    gap: 0.35rem;
  }
  .btn-nav-vcard {
    padding: 0.38rem 0.6rem;
    font-size: 0.74rem;
  }
  .btn-nav-vcard svg {
    width: 14px;
    height: 14px;
  }
  .btn-nav-wa {
    padding: 0.38rem 0.7rem;
    font-size: 0.74rem;
  }
  .btn-nav-wa svg {
    width: 14px;
    height: 14px;
  }

  /* 2. Hero */
  .store-hero {
    padding-block: 1.25rem 1.5rem;
  }
  .clean-hero-card {
    padding: 1.75rem 1.15rem;
    border-radius: 16px;
  }
  .hero-chip {
    font-size: 0.76rem;
    padding: 0.25rem 0.85rem;
    margin-bottom: 1rem;
  }
  .clean-hero-title {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.85rem;
  }
  .clean-hero-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  /* 3. Metrics */
  .store-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .metric-chip {
    padding: 0.85rem 0.5rem;
  }
  .chip-num {
    font-size: 1.25rem;
  }
  .chip-lbl {
    font-size: 0.72rem;
  }

  /* 4. Actions */
  .hero-actions-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.75rem;
  }

  /* 5. Sections */
  .legal-pillars-grid,
  .legal-facts-grid,
  .legal-quotes-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-heading {
    font-size: 1.4rem;
  }
  .section-subheading {
    font-size: 0.86rem;
  }

  .pillar-card {
    padding: 1.4rem 1.15rem;
  }
  .fact-card {
    padding: 1.5rem 1.2rem;
  }
  .fact-title {
    font-size: 1.1rem;
  }

  /* 6. Form */
  .form-row {
    grid-template-columns: 1fr;
  }
  .order-form-panel {
    padding: 1.5rem 1.15rem;
  }

  /* 7. Real Solid Mobile App Bottom Navigation Bar */
  body.store-layout {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .real-mobile-navbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(5, 11, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.65);
    padding-top: 0.4rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    margin: 0;
  }

  .nav-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    background: none;
    border: none;
    color: #94A3B8;
    text-decoration: none;
    cursor: pointer;
    padding-block: 0.2rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-tab-item:active {
    transform: scale(0.92);
  }

  .nav-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
  }

  .nav-tab-icon svg {
    width: 21px;
    height: 21px;
  }

  .nav-tab-label {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .tab-wa {
    color: #CBD5E1;
  }
  .tab-wa .nav-tab-icon svg {
    color: #25D366;
  }
  .tab-wa:hover, .tab-wa:active {
    color: #25D366;
  }

  .tab-call {
    color: #CBD5E1;
  }
  .tab-call .nav-tab-icon svg {
    color: var(--color-gold-bright);
  }
  .tab-call:hover, .tab-call:active {
    color: var(--color-gold-bright);
  }

  .tab-order {
    color: #CBD5E1;
  }
  .tab-order .nav-tab-icon svg {
    color: var(--color-gold);
  }
  .tab-order:hover, .tab-order:active {
    color: var(--color-gold);
  }

  .tab-vcard {
    color: #CBD5E1;
  }
  .tab-vcard .nav-tab-icon svg {
    color: #60A5FA;
  }
  .tab-vcard:hover, .tab-vcard:active {
    color: #60A5FA;
  }

  /* 8. Footer */
  .store-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-col-copy {
    align-items: center;
  }
}

/* ==========================================================================
   Auto 5s PWA Install Prompt Modal
   ========================================================================== */
.auto-install-overlay {
  z-index: 1100;
}

.auto-install-box {
  max-width: 420px;
  text-align: center;
  background: linear-gradient(150deg, #091322 0%, #0F2038 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(212, 175, 55, 0.22);
  border-radius: 24px;
  padding: 2.25rem 1.75rem 1.85rem;
  animation: autoInstallPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes autoInstallPop {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.auto-install-icon-wrap {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  padding: 5px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(15, 23, 42, 0.85));
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-install-icon {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.auto-install-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.auto-install-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 1.65rem;
}

.auto-install-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
}

.btn-auto-install {
  background: linear-gradient(135deg, #D4AF37 0%, #E6C66E 50%, #B89020 100%);
  color: #060D1A !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  border: none;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-auto-install:hover, .btn-auto-install:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.55);
}

.btn-auto-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F1F5F9 !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-auto-close:hover, .btn-auto-close:active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

