/* ==========================================================================
   iOS 26 SPATIAL LIQUID DESIGN SYSTEM — EVI SAMIRA PUSAT
   Apple Vision / iOS 26 Glassmorphism, Continuous Squircles, Spring Physics
   ========================================================================== */

:root {
  /* Typography */
  --ios-font: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --ios-display-font: 'Playfair Display', Georgia, serif;

  /* Color Palette */
  --ios-bg: #f4f6fa;
  --ios-navy: #092938;
  --ios-deep: #05161f;
  --ios-ink: #112129;
  --ios-secondary: #566c75;
  --ios-tertiary: #8b9ea6;
  --ios-line: rgba(9, 41, 56, 0.08);

  /* Brand Accents */
  --ios-green: #0c706b;
  --ios-green-vibrant: #0d8b84;
  --ios-green-subtle: rgba(12, 112, 107, 0.08);
  --ios-green-gradient: linear-gradient(135deg, #108a84 0%, #075652 100%);
  --ios-green-glow: rgba(12, 112, 107, 0.28);

  --ios-gold: #d6ad58;
  --ios-gold-vibrant: #e5bd68;
  --ios-gold-subtle: rgba(214, 173, 88, 0.12);
  --ios-gold-gradient: linear-gradient(135deg, #f2cb73 0%, #be9239 100%);
  --ios-gold-glow: rgba(214, 173, 88, 0.32);

  /* Liquid Glass 2.0 Tokens */
  --ios-glass-bg: rgba(255, 255, 255, 0.76);
  --ios-glass-bg-subtle: rgba(255, 255, 255, 0.55);
  --ios-glass-bg-hover: rgba(255, 255, 255, 0.92);
  --ios-glass-dark: rgba(9, 41, 56, 0.82);
  --ios-glass-border: rgba(255, 255, 255, 0.85);
  --ios-glass-border-subtle: rgba(9, 41, 56, 0.06);
  --ios-glass-specular: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.02);

  /* Shadows */
  --ios-shadow-sm: 0 4px 14px -2px rgba(9, 41, 56, 0.05), 0 2px 6px -1px rgba(9, 41, 56, 0.03);
  --ios-shadow-md: 0 14px 32px -4px rgba(9, 41, 56, 0.08), 0 4px 12px -2px rgba(9, 41, 56, 0.04);
  --ios-shadow-lg: 0 26px 54px -10px rgba(9, 41, 56, 0.11), 0 10px 24px -5px rgba(9, 41, 56, 0.05);
  --ios-shadow-float: 0 20px 44px -8px rgba(12, 112, 107, 0.28);

  /* Radius (Continuous Squircles) */
  --ios-radius-xs: 8px;
  --ios-radius-sm: 14px;
  --ios-radius-md: 20px;
  --ios-radius-lg: 28px;
  --ios-radius-xl: 36px;
  --ios-radius-pill: 9999px;

  /* Motion & Physics */
  --ios-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ios-spring-snappy: cubic-bezier(0.2, 0.9, 0.2, 1.1);
  --ios-transition-fast: 0.2s var(--ios-spring);
  --ios-transition-normal: 0.35s var(--ios-spring);
  --ios-transition-slow: 0.6s var(--ios-spring);
}

/* ==========================================================================
   iOS 26 Navy Dark Mode Theme Tokens
   ========================================================================== */
[data-theme="dark"], body.dark-mode {
  --ios-bg: #05141c;
  --ios-navy: #ffffff;
  --ios-deep: #030d12;
  --ios-ink: #ebf3f2;
  --ios-secondary: #9cb5bd;
  --ios-tertiary: #6b8890;
  --ios-line: rgba(255, 255, 255, 0.08);

  /* Brand Accents (Vibrant on Dark Navy) */
  --ios-green: #25b8ad;
  --ios-green-vibrant: #35ded2;
  --ios-green-subtle: rgba(37, 184, 173, 0.16);
  --ios-green-gradient: linear-gradient(135deg, #20aca2 0%, #0d6862 100%);
  --ios-green-glow: rgba(37, 184, 173, 0.35);

  --ios-gold: #e2ba64;
  --ios-gold-vibrant: #f5d17a;
  --ios-gold-subtle: rgba(226, 186, 100, 0.16);
  --ios-gold-gradient: linear-gradient(135deg, #f5d17a 0%, #c49942 100%);
  --ios-gold-glow: rgba(226, 186, 100, 0.35);

  /* Liquid Glass 2.0 Navy Spatial Tokens */
  --ios-glass-bg: rgba(9, 32, 44, 0.74);
  --ios-glass-bg-subtle: rgba(9, 32, 44, 0.52);
  --ios-glass-bg-hover: rgba(14, 46, 62, 0.88);
  --ios-glass-dark: rgba(4, 16, 23, 0.94);
  --ios-glass-border: rgba(255, 255, 255, 0.13);
  --ios-glass-border-subtle: rgba(255, 255, 255, 0.08);
  --ios-glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3);

  /* Shadows */
  --ios-shadow-sm: 0 4px 14px -2px rgba(0, 0, 0, 0.4), 0 2px 6px -1px rgba(0, 0, 0, 0.25);
  --ios-shadow-md: 0 14px 32px -4px rgba(0, 0, 0, 0.5), 0 4px 12px -2px rgba(0, 0, 0, 0.3);
  --ios-shadow-lg: 0 26px 54px -10px rgba(0, 0, 0, 0.65), 0 10px 24px -5px rgba(0, 0, 0, 0.35);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: var(--ios-font);
  color: var(--ios-ink);
  background-color: var(--ios-bg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient Dynamic Mesh Lighting */
.ios-ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.45;
  will-change: transform;
}

.orb-1 {
  width: 550px;
  height: 550px;
  top: -120px;
  left: 15%;
  background: radial-gradient(circle, rgba(16, 138, 132, 0.25) 0%, rgba(16, 138, 132, 0) 70%);
  animation: orbFloat1 24s ease-in-out infinite alternate;
}

.orb-2 {
  width: 600px;
  height: 600px;
  top: 35%;
  right: -100px;
  background: radial-gradient(circle, rgba(214, 173, 88, 0.22) 0%, rgba(214, 173, 88, 0) 70%);
  animation: orbFloat2 28s ease-in-out infinite alternate;
}

.orb-3 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -50px;
  background: radial-gradient(circle, rgba(16, 138, 132, 0.18) 0%, rgba(16, 138, 132, 0) 70%);
  animation: orbFloat3 20s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.08); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 60px) scale(0.95); }
}

@keyframes orbFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.1); }
}

/* Containers */
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Topline Notification Capsule */
.topline {
  padding: 10px 0 6px;
  font-size: 0.8rem;
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  border-radius: var(--ios-radius-pill);
  padding: 6px 18px;
}

.topline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ios-secondary);
  font-weight: 600;
  font-size: 0.78rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #24b276;
  box-shadow: 0 0 0 3px rgba(36, 178, 118, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.topline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ios-green);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  transition: opacity var(--ios-transition-fast);
}

.topline-link:hover {
  opacity: 0.8;
}

/* Floating Capsule Island Header */
.header-wrapper {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 16px;
  margin-bottom: 24px;
}

.nav-capsule {
  width: min(1180px, 100%);
  margin: 0 auto;
  height: 68px;
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-pill);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 24px;
  transition: all var(--ios-transition-normal);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--ios-transition-fast);
}

.brand:active {
  transform: scale(0.96);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ios-ink);
  padding: 8px 14px;
  border-radius: var(--ios-radius-pill);
  transition: all var(--ios-transition-fast);
  position: relative;
}

.nav-links a:hover {
  background: rgba(9, 41, 56, 0.05);
  color: var(--ios-green);
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ios-green);
  box-shadow: var(--ios-shadow-sm);
}

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

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ios-navy);
  transition: all var(--ios-transition-normal);
  padding: 0;
  position: relative;
  user-select: none;
}

.theme-toggle:hover {
  transform: translateY(-1px) scale(1.05);
  background: #ffffff;
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle .icon-sun {
  display: block;
  color: #c9820e;
  transition: transform 0.4s var(--ios-spring);
}

.theme-toggle .icon-moon {
  display: none;
  color: #4ed8ce;
  transition: transform 0.4s var(--ios-spring);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--ios-glass-border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: none;
  place-content: center;
  cursor: pointer;
  color: var(--ios-navy);
  font-size: 1.2rem;
  box-shadow: var(--ios-shadow-sm);
  transition: transform var(--ios-transition-fast);
}

.mobile-toggle:active {
  transform: scale(0.92);
}

/* Apple iOS 26 Buttons (Pills & Liquid Sheen) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: var(--ios-radius-pill);
  padding: 12px 22px;
  cursor: pointer;
  transition: all var(--ios-transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: scale(0.96) !important;
}

.btn-green {
  background: var(--ios-green-gradient);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px var(--ios-green-glow), inset 0 1px 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-green:hover {
  box-shadow: 0 12px 26px -4px var(--ios-green-glow), inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--ios-gold-gradient);
  color: var(--ios-deep);
  box-shadow: 0 8px 20px -4px var(--ios-gold-glow), inset 0 1px 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-gold:hover {
  box-shadow: 0 12px 26px -4px var(--ios-gold-glow), inset 0 1px 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ios-navy);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
}

.btn-glass:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

/* Hero Section (Apple Keynote Spatial Glass) */
.hero {
  position: relative;
  margin-bottom: 30px;
}

.hero-glass-card {
  min-height: 580px;
  background: linear-gradient(135deg, rgba(6, 27, 37, 0.88) 0%, rgba(9, 41, 56, 0.75) 45%, rgba(12, 112, 107, 0.45) 100%),
              url('https://images.unsplash.com/photo-1513072064285-240f87fa81e8?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
  border-radius: var(--ios-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px -15px rgba(5, 22, 31, 0.35), inset 0 1px 2px 0 rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.hero-glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(214, 173, 88, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(214, 173, 88, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 173, 88, 0.4);
  color: var(--ios-gold-vibrant);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--ios-radius-pill);
  margin-bottom: 18px;
}

.hero h1, .page-hero h1 {
  font-family: var(--ios-display-font);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #dce7e7;
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* iOS Bento Grid Trust Strip */
.trust-strip {
  margin-bottom: 50px;
}

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

.trust-item {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-md);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--ios-transition-normal);
}

.trust-item:hover {
  transform: translateY(-2px);
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

.trust-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ios-green-subtle);
  border: 1px solid rgba(12, 112, 107, 0.15);
  display: grid;
  place-content: center;
  color: var(--ios-green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ios-navy);
  line-height: 1.3;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-soft {
  padding: 60px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--ios-display-font);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--ios-navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-top: 8px;
}

.section-text {
  font-size: 1rem;
  color: var(--ios-secondary);
  line-height: 1.6;
}

/* iOS 26 Notice / Alert Banner */
.notice {
  background: rgba(253, 248, 234, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(214, 173, 88, 0.4);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  border-radius: var(--ios-radius-md);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #6b5321;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.notice-icon {
  font-size: 1.2rem;
  color: var(--ios-gold);
  flex-shrink: 0;
}

/* iOS 26 Package Card (Apple Vision Bento Widget) */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all var(--ios-transition-normal);
  position: relative;
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-4px);
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-lg);
}

.package-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--ios-radius-md);
  overflow: hidden;
}

.package-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--ios-transition-slow);
}

.package-card:hover .package-image {
  transform: scale(1.05);
}

.package-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 41, 56, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--ios-radius-pill);
  letter-spacing: 0.04em;
}

.package-body {
  padding: 18px 8px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-card h3 {
  font-family: var(--ios-display-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ios-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}

.price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ios-green);
  letter-spacing: -0.02em;
}

.price small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ios-tertiary);
}

.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.meta-chip {
  background: rgba(9, 41, 56, 0.04);
  border: 1px solid rgba(9, 41, 56, 0.06);
  padding: 5px 11px;
  border-radius: var(--ios-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ios-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.package-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.package-actions .btn {
  padding: 9px 10px;
  font-size: 0.8rem;
  border-radius: var(--ios-radius-pill);
}

/* About Bento Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-visual-card {
  position: relative;
  min-height: 480px;
  border-radius: var(--ios-radius-xl);
  overflow: hidden;
  border: 1px solid var(--ios-glass-border);
  background: url('assets/foto-evi-samira.png') center 20%/cover no-repeat;
  cursor: pointer;
}

.about-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 41, 56, 0.1) 0%, rgba(9, 41, 56, 0.7) 100%);
}

.about-floating-pill {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  padding: 18px 22px;
}

.about-floating-pill strong {
  display: block;
  font-family: var(--ios-display-font);
  font-size: 1.45rem;
  color: var(--ios-green);
  margin-bottom: 2px;
}

.about-floating-pill small {
  font-size: 0.85rem;
  color: var(--ios-secondary);
  font-weight: 500;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.feature-widget {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-md);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  padding: 22px;
  transition: all var(--ios-transition-normal);
}

.feature-widget:hover {
  transform: translateY(-2px);
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

.feature-widget-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ios-green-subtle);
  border: 1px solid rgba(12, 112, 107, 0.15);
  display: grid;
  place-content: center;
  color: var(--ios-green);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.feature-widget h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ios-navy);
  margin-bottom: 6px;
}

.feature-widget p {
  font-size: 0.88rem;
  color: var(--ios-secondary);
  line-height: 1.5;
}

/* Quotes / Testimonials (Speech Glass Widgets) */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--ios-transition-normal);
  position: relative;
}

.quote-card:hover {
  transform: translateY(-3px);
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--ios-gold);
  margin-bottom: 12px;
}

.quote-text {
  font-size: 0.94rem;
  color: var(--ios-ink);
  line-height: 1.6;
  margin-bottom: 24px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ios-green-subtle);
  border: 1px solid rgba(12, 112, 107, 0.2);
  display: grid;
  place-content: center;
  font-weight: 700;
  color: var(--ios-green);
  font-size: 0.95rem;
}

.author-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ios-navy);
}

.author-info small {
  font-size: 0.78rem;
  color: var(--ios-tertiary);
}

/* ==========================================================================
   Video Testimonials (iOS 26 Bento Video Grid)
   ========================================================================== */
.video-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.video-testimonial-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all var(--ios-transition-normal);
  position: relative;
  overflow: hidden;
}

.video-testimonial-card:hover {
  transform: translateY(-4px);
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-lg);
}

.video-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14;
  border-radius: var(--ios-radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.video-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card-body {
  padding: 14px 6px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(224, 36, 36, 0.08);
  color: #e02424;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--ios-radius-pill);
  margin-bottom: 8px;
  width: fit-content;
}

.video-badge span {
  font-size: 0.7rem;
}

.video-title {
  font-family: var(--ios-display-font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ios-navy);
  line-height: 1.35;
  margin-bottom: 6px;
}

.video-desc {
  font-size: 0.82rem;
  color: var(--ios-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ios-green);
  text-decoration: none;
  margin-top: auto;
  transition: opacity var(--ios-transition-fast);
}

.video-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

[data-theme="dark"] .video-badge {
  background: rgba(255, 90, 90, 0.16);
  color: #ff7575;
}

/* Gallery (Bento Squircle) */
.gallery-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 18px;
}

.gallery-item {
  border-radius: var(--ios-radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-shadow-sm);
  transition: all var(--ios-transition-normal);
  position: relative;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 41, 56, 0.7) 100%);
  opacity: 0.8;
  transition: opacity var(--ios-transition-normal);
}

.gallery-item:hover::after {
  opacity: 0.95;
}

.gallery-item .gallery-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  z-index: 2;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--ios-shadow-lg);
}

.gallery-item.big {
  grid-row: span 2;
}

/* CTA Band (Spatial Card) */
.cta-band {
  margin: 40px 0 60px;
}

.cta-card {
  background: linear-gradient(135deg, #092938 0%, #061923 100%);
  border-radius: var(--ios-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(9, 41, 56, 0.35), inset 0 1px 1px 0 rgba(255, 255, 255, 0.3);
  padding: 48px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 138, 132, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text h2 {
  font-family: var(--ios-display-font);
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-text p {
  color: #d2e3e1;
  font-size: 1.05rem;
}

/* Page Hero (Subpages) */
.page-hero {
  margin-bottom: 30px;
}

.page-hero-card {
  background: linear-gradient(135deg, #092938 0%, #061923 100%);
  border-radius: var(--ios-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -10px rgba(9, 41, 56, 0.25);
  padding: 56px 44px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-hero-card h1 {
  font-family: var(--ios-display-font);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 12px;
}

.page-hero-card p {
  color: #d2e3e1;
  font-size: 1.05rem;
  max-width: 680px;
}

/* Detail Package Page */
.detail-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
}

.detail-main-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-xl);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  overflow: hidden;
}

.detail-image {
  height: 360px;
  background-size: cover;
  background-position: center;
}

.detail-content {
  padding: 34px;
}

.detail-content h2 {
  font-family: var(--ios-display-font);
  color: var(--ios-navy);
  font-size: 1.5rem;
  margin: 24px 0 12px;
}

.detail-content p {
  color: var(--ios-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.data-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 14px 0 24px;
}

.data-list li {
  background: rgba(9, 41, 56, 0.03);
  border: 1px solid rgba(9, 41, 56, 0.05);
  border-radius: var(--ios-radius-sm);
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--ios-navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-list li::before {
  content: '✓';
  color: var(--ios-green);
  font-weight: 800;
}

.side-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-xl);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  padding: 28px;
  height: max-content;
  position: sticky;
  top: 100px;
}

.side-card h3 {
  font-family: var(--ios-display-font);
  font-size: 1.4rem;
  color: var(--ios-navy);
  margin: 12px 0 6px;
}

.side-specs {
  margin: 18px 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.side-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(9, 41, 56, 0.06);
}

.side-spec-item span {
  color: var(--ios-tertiary);
}

.side-spec-item strong {
  color: var(--ios-navy);
}

/* Schedule Table (iOS Grouped Style) */
.schedule-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-xl);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  overflow: hidden;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
}

.schedule th {
  background: rgba(9, 41, 56, 0.03);
  padding: 18px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ios-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--ios-line);
}

.schedule td {
  padding: 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ios-line);
  color: var(--ios-ink);
}

.schedule tr:last-child td {
  border-bottom: none;
}

.schedule tr:hover td {
  background: rgba(255, 255, 255, 0.6);
}

.schedule .status-pill {
  display: inline-block;
  background: var(--ios-green-subtle);
  color: var(--ios-green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--ios-radius-pill);
}

/* Lead Form (iOS Inset Grouped) */
.form-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-xl);
  box-shadow: var(--ios-specular), var(--ios-shadow-lg);
  padding: 36px 32px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ios-navy);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  font-family: inherit;
  font-size: 0.94rem;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(9, 41, 56, 0.12);
  border-radius: var(--ios-radius-sm);
  color: var(--ios-ink);
  transition: all var(--ios-transition-fast);
  width: 100%;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--ios-green);
  box-shadow: 0 0 0 4px rgba(12, 112, 107, 0.16);
}

/* Articles (iOS Feed Widgets) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--ios-transition-normal);
}

.article-card:hover {
  transform: translateY(-3px);
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

.article-card h3 {
  font-family: var(--ios-display-font);
  font-size: 1.25rem;
  color: var(--ios-navy);
  margin: 12px 0 8px;
  line-height: 1.35;
}

.article-date {
  font-size: 0.78rem;
  color: var(--ios-tertiary);
  margin-bottom: 12px;
}

.article-card p {
  font-size: 0.88rem;
  color: var(--ios-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.article-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ios-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ (iOS Grouped Disclosure Group) */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-md);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  overflow: hidden;
  transition: all var(--ios-transition-fast);
}

.faq-item[open] {
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

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

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--ios-green);
  transition: transform var(--ios-transition-fast);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--ios-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Legal & Contact Cards */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.legal-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  padding: 30px;
}

.legal-card h3 {
  font-family: var(--ios-display-font);
  font-size: 1.3rem;
  color: var(--ios-navy);
  margin-bottom: 12px;
}

.legal-card p {
  color: var(--ios-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ==========================================================================
   Samira Profile iOS 26 Bento Components
   ========================================================================== */
.profile-overview-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-xl);
  box-shadow: var(--ios-specular), var(--ios-shadow-lg);
  padding: 38px 34px;
  margin-bottom: 30px;
}

.profile-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.profile-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 41, 56, 0.05);
  border: 1px solid rgba(9, 41, 56, 0.08);
  padding: 6px 14px;
  border-radius: var(--ios-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ios-navy);
}

.profile-bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.profile-bento-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--ios-transition-normal);
}

.profile-bento-card:hover {
  transform: translateY(-3px);
  background: var(--ios-glass-bg-hover);
  box-shadow: var(--ios-specular), var(--ios-shadow-lg);
}

.profile-bento-card h3 {
  font-family: var(--ios-display-font);
  font-size: 1.35rem;
  color: var(--ios-navy);
  margin-bottom: 10px;
}

.profile-bento-card p {
  color: var(--ios-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.profile-bento-img {
  width: 100%;
  border-radius: var(--ios-radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-shadow-sm);
  background: #092938;
}

.profile-bento-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fatwa Grid */
.fatwa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.fatwa-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-md);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  padding: 20px;
  transition: all var(--ios-transition-fast);
}

.fatwa-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: var(--ios-specular), var(--ios-shadow-md);
}

.fatwa-badge {
  display: inline-block;
  background: var(--ios-green-subtle);
  color: var(--ios-green);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--ios-radius-pill);
  margin-bottom: 8px;
}

.fatwa-card h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ios-navy);
  margin-bottom: 6px;
}

.fatwa-card p {
  font-size: 0.82rem;
  color: var(--ios-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Profile Docs Showcase */
.profile-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.profile-doc-card {
  background: var(--ios-glass-bg);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius-lg);
  box-shadow: var(--ios-specular), var(--ios-shadow-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: all var(--ios-transition-normal);
  cursor: pointer;
}

.profile-doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ios-specular), var(--ios-shadow-lg);
  background: var(--ios-glass-bg-hover);
}

.profile-doc-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ios-radius-md);
  overflow: hidden;
  background: #092938;
  position: relative;
}

.profile-doc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ios-transition-slow);
}

.profile-doc-card:hover .profile-doc-img-wrap img {
  transform: scale(1.05);
}

.profile-doc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 41, 56, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--ios-radius-pill);
}

.profile-doc-body {
  padding: 12px 6px 4px;
}

.profile-doc-body p {
  font-size: 0.86rem;
  color: var(--ios-navy);
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.profile-doc-hint {
  font-size: 0.74rem;
  color: var(--ios-green);
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(3, 13, 19, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ios-spring);
}

.image-lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  max-height: 90vh;
  background: rgba(9, 41, 56, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--ios-radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption-bar {
  padding: 14px 20px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 22, 31, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--ios-transition-fast);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

/* iOS 26 Dynamic Island Floating WhatsApp Action Bar */
.dynamic-island-wa {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 999;
}

.island-capsule {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(9, 41, 56, 0.88);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 36px -6px rgba(9, 41, 56, 0.4), inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
  border-radius: var(--ios-radius-pill);
  padding: 10px 14px 10px 12px;
  text-decoration: none;
  transition: all var(--ios-transition-normal);
}

.island-capsule:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(9, 41, 56, 0.95);
  box-shadow: 0 20px 44px -6px rgba(9, 41, 56, 0.5), inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.6);
}

.island-capsule:active {
  transform: scale(0.96);
}

.island-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  flex-shrink: 0;
}

.island-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: islandPulse 2.2s infinite ease-out;
}

@keyframes islandPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

.island-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.island-subtitle {
  font-size: 0.72rem;
  color: #a7c5c1;
  line-height: 1.2;
}

.island-action-pill {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--ios-radius-pill);
}

/* Footer (Deep Spatial Glass) */
.footer {
  background: linear-gradient(180deg, rgba(6, 24, 33, 0.96) 0%, rgba(4, 15, 20, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b5ccc8;
  padding: 68px 0 28px;
  margin-top: 60px;
}

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

.footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer a {
  display: block;
  color: #b5ccc8;
  text-decoration: none;
  font-size: 0.88rem;
  margin: 9px 0;
  transition: color var(--ios-transition-fast);
}

.footer a:hover {
  color: var(--ios-gold-vibrant);
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #728c89;
}

/* Responsive Mobile Layout (iOS Sheet & Inset) */
@media (max-width: 900px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-grid, .article-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-bento-grid {
    grid-template-columns: 1fr !important;
  }
  .fatwa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .video-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .fatwa-grid {
    grid-template-columns: 1fr;
  }
  .profile-docs-grid {
    grid-template-columns: 1fr;
  }
  .profile-overview-card {
    padding: 26px 20px;
  }
  .header-wrapper {
    top: 8px;
    padding: 0 10px;
  }

  .nav-capsule {
    height: 60px;
    padding: 0 14px 0 18px;
  }

  .mobile-toggle {
    display: grid;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    border: 1px solid var(--ios-glass-border);
    border-radius: var(--ios-radius-lg);
    box-shadow: var(--ios-specular), var(--ios-shadow-lg);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
    animation: sheetDown 0.3s var(--ios-spring);
  }

  @keyframes sheetDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .hero-glass-card {
    min-height: 480px;
    padding: 40px 24px;
    border-radius: var(--ios-radius-lg);
  }

  .hero h1, .page-hero h1 {
    font-size: 2.3rem;
  }

  .about-grid, .detail-layout, .legal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-bento {
    grid-template-columns: 1fr;
  }

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

  .gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
  }

  .gallery-item.big {
    grid-row: span 2;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 24px;
  }

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

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

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

  .schedule {
    display: block;
    overflow-x: auto;
  }

  .dynamic-island-wa {
    bottom: 16px;
    right: 14px;
    left: 14px;
  }

  .island-capsule {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   iOS 26 Navy Dark Mode Component Overrides
   ========================================================================== */
[data-theme="dark"] body {
  background-color: var(--ios-bg);
  color: var(--ios-ink);
}

/* Nav capsule & topline */
[data-theme="dark"] .nav-capsule {
  background: rgba(7, 26, 36, 0.84);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .topline-inner {
  background: rgba(7, 26, 36, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .nav-links a {
  color: #d8e8e6;
}

[data-theme="dark"] .nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ios-green-vibrant);
}

[data-theme="dark"] .nav-links a.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ios-green-vibrant);
}

[data-theme="dark"] .mobile-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Ambient glow orbs in dark mode */
[data-theme="dark"] .orb-1 {
  background: radial-gradient(circle, rgba(16, 138, 132, 0.38) 0%, rgba(16, 138, 132, 0) 70%);
}

[data-theme="dark"] .orb-2 {
  background: radial-gradient(circle, rgba(214, 173, 88, 0.28) 0%, rgba(214, 173, 88, 0) 70%);
}

[data-theme="dark"] .orb-3 {
  background: radial-gradient(circle, rgba(16, 138, 132, 0.3) 0%, rgba(16, 138, 132, 0) 70%);
}

/* Buttons in dark mode */
[data-theme="dark"] .btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Notice alert */
[data-theme="dark"] .notice {
  background: rgba(38, 29, 10, 0.88);
  border-color: rgba(226, 186, 100, 0.4);
  color: #f7e6bd;
}

/* Meta chip & data list */
[data-theme="dark"] .meta-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #a4bfc7;
}

[data-theme="dark"] .data-list li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e5f0ee;
}

[data-theme="dark"] .side-spec-item {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .side-spec-item strong {
  color: #ffffff;
}

/* Forms in dark mode */
[data-theme="dark"] .lead-form input,
[data-theme="dark"] .lead-form select,
[data-theme="dark"] .lead-form textarea {
  background: rgba(6, 20, 28, 0.88);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

[data-theme="dark"] .lead-form input:focus,
[data-theme="dark"] .lead-form select:focus,
[data-theme="dark"] .lead-form textarea:focus {
  background: rgba(6, 20, 28, 1);
  border-color: var(--ios-green-vibrant);
  box-shadow: 0 0 0 4px rgba(37, 184, 173, 0.2);
}

/* Schedule table in dark mode */
[data-theme="dark"] .schedule th {
  background: rgba(255, 255, 255, 0.04);
  color: #a4bfc7;
  border-color: var(--ios-line);
}

[data-theme="dark"] .schedule td {
  color: #e5f0ee;
  border-color: var(--ios-line);
}

[data-theme="dark"] .schedule tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

/* FAQ accordion in dark mode */
[data-theme="dark"] .faq-item[open] {
  background: rgba(14, 46, 62, 0.9);
}

/* About floating pill */
[data-theme="dark"] .about-floating-pill {
  background: rgba(9, 32, 44, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Credential cards */
[data-theme="dark"] .credential-image {
  background: #ffffff;
}

/* Samira Profile in dark mode */
[data-theme="dark"] .profile-meta-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

[data-theme="dark"] .fatwa-card {
  background: rgba(9, 32, 44, 0.74);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .fatwa-card:hover {
  background: rgba(14, 46, 62, 0.9);
}

[data-theme="dark"] .fatwa-card h4 {
  color: #ffffff;
}

[data-theme="dark"] .profile-doc-body p {
  color: #ffffff;
}

/* Mobile dropdown in dark mode */
@media (max-width: 760px) {
  [data-theme="dark"] .nav-links {
    background: rgba(7, 26, 36, 0.96);
    border-color: rgba(255, 255, 255, 0.15);
  }
}
