/* ============================================================
   Fada Construction Sdn Bhd — Modern Interactive iOS 18 / Bento UI
   ============================================================ */

:root {
  --ios-tint: #27318d;
  --ios-tint-hover: #1e2673;
  --ios-tint-light: #4f5bd5;
  --ios-tint-soft: rgba(39, 49, 141, 0.1);
  --ios-bg: #f5f5f7;
  --ios-surface: #ffffff;
  --ios-fill: #f2f2f7;
  --ios-fill-2: #e5e5ea;
  --ios-label: #1d1d1f;
  --ios-label-2: #515154;
  --ios-label-3: #86868b;
  --ios-border: rgba(0, 0, 0, 0.07);
  --ios-glass-border: rgba(255, 255, 255, 0.65);
  --ios-radius-sm: 14px;
  --ios-radius: 20px;
  --ios-radius-lg: 28px;
  --ios-radius-xl: 34px;
  --ios-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ios-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --ios-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --ios-shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  --ios-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
}

/* ── Global Base ──────────────────────────────────────────── */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body.ios-body {
  font-family: var(--ios-font);
  color: var(--ios-label);
  background: var(--ios-bg);
  background-image:
    radial-gradient(at 12% 0%, rgba(39, 49, 141, 0.06) 0px, transparent 50%),
    radial-gradient(at 88% 8%, rgba(56, 189, 248, 0.06) 0px, transparent 45%);
  background-attachment: fixed;
  letter-spacing: -0.012em;
  overflow-x: hidden;
  padding-top: 90px;
}
::selection {
  background: rgba(39, 49, 141, 0.18);
  color: var(--ios-tint);
}
a {
  text-decoration: none;
}

/* ── Scroll-Reveal Spring Animation ───────────────────────── */
.ios-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 0.7s var(--ios-spring),
    transform 0.7s var(--ios-spring);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.ios-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Floating Dynamic Island Navbar ───────────────────────── */
.ios-nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 0 16px;
  pointer-events: none;
  transition: top 0.35s var(--ios-spring);
}
.ios-nav-wrap.is-scrolled {
  top: 10px;
}
.ios-floating-nav {
  pointer-events: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px !important;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.76) !important;
  -webkit-backdrop-filter: saturate(200%) blur(26px);
  backdrop-filter: saturate(200%) blur(26px);
  border: 1px solid var(--ios-glass-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.4s var(--ios-spring);
}
.ios-nav-wrap.is-scrolled .ios-floating-nav {
  max-width: 1060px;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.11), 0 1px 3px rgba(15, 23, 42, 0.06);
}
.ios-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}
.ios-brand {
  display: flex;
  align-items: center;
  padding: 2px 8px !important;
  margin: 0 !important;
}
.navbar-logo {
  height: 40px !important;
  width: auto;
  transition: transform 0.3s var(--ios-spring);
}
.ios-brand:hover .navbar-logo {
  transform: scale(1.04);
}

/* Segmented Glider Track */
.ios-nav-track {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(118, 118, 128, 0.1);
  border-radius: 980px;
  padding: 4px;
}
.ios-nav-glider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 980px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09), 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.38s var(--ios-spring), width 0.38s var(--ios-spring), opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.ios-nav-list {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.ios-nav-list .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px !important;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ios-label-2) !important;
  letter-spacing: -0.01em;
  transition: color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}
.ios-nav-list .nav-link::after {
  display: none !important;
}
.ios-nav-icon {
  font-size: 12.5px;
  opacity: 0.75;
  transition: transform 0.25s var(--ios-spring), color 0.25s ease;
}
.ios-nav-list .nav-link:hover {
  color: var(--ios-tint) !important;
}
.ios-nav-list .nav-link:hover .ios-nav-icon {
  transform: scale(1.15);
  color: var(--ios-tint);
}
.ios-nav-list .nav-link.active {
  color: var(--ios-tint) !important;
}
.ios-nav-list .nav-link.active .ios-nav-icon {
  color: var(--ios-tint);
  opacity: 1;
}

/* Right Action Pill */
.ios-nav-actions {
  display: flex;
  align-items: center;
}
.ios-btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 980px;
  background: var(--ios-tint);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 10px rgba(39, 49, 141, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.25s var(--ios-spring), background 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.ios-btn-quote i {
  font-size: 11px;
  opacity: 0.85;
}
.ios-btn-quote:hover {
  background: var(--ios-tint-hover);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(39, 49, 141, 0.36);
}
.ios-btn-quote:active {
  transform: scale(0.96);
}

/* Mobile Toggler */
.ios-toggler {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: rgba(118, 118, 128, 0.12) !important;
  border: none !important;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 !important;
}
.ios-toggler:focus {
  box-shadow: none !important;
}
.ios-toggler-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ios-label);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

/* ── Framed Home Hero Showcase ────────────────────────────── */
.ios-hero-shell {
  padding: 6px 12px 16px;
}
.ios-hero-card {
  position: relative;
  border-radius: var(--ios-radius-xl);
  overflow: hidden;
  box-shadow: var(--ios-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #0f172a;
}
.ios-hero-card .carousel-item {
  height: clamp(500px, 78vh, 720px);
  position: relative;
}
.ios-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ios-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}
.ios-hero-card .carousel-item.active .ios-hero-media img {
  transform: scale(1.09);
}
.ios-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(15, 23, 42, 0.78) 0%, transparent 65%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.4) 45%, rgba(15, 23, 42, 0.85) 100%);
}
.ios-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 820px;
  padding: clamp(28px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(78px, 9vw, 104px);
}
.ios-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.ios-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.28);
  animation: iosPulse 2s infinite;
}
@keyframes iosPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.75; }
}
.ios-hero-title {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.07;
  margin-bottom: 14px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.32);
}
.ios-hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  max-width: 640px;
  margin-bottom: 26px;
}
.ios-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Floating Glass Bottom Control Bar */
.ios-hero-controls {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 6vw, 72px);
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.ios-hero-dots {
  position: static !important;
  margin: 0 !important;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 980px;
  background: rgba(15, 23, 42, 0.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ios-hero-dots [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 980px !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.45) !important;
  margin: 0 !important;
  opacity: 1 !important;
  transition: width 0.35s var(--ios-spring), background 0.25s ease;
}
.ios-hero-dots .active {
  width: 26px !important;
  background: #ffffff !important;
}
.ios-hero-arrows {
  pointer-events: auto;
  display: inline-flex;
  gap: 8px;
}
.ios-glass-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.25s var(--ios-spring), background 0.25s ease;
}
.ios-glass-circle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}
.ios-glass-circle:active {
  transform: scale(0.94);
}

/* ── Global iOS Buttons ───────────────────────────────────── */
.ios-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 980px;
  border: none;
  background: var(--ios-tint);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(39, 49, 141, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s var(--ios-spring), background 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.ios-btn-primary i {
  font-size: 13px;
  transition: transform 0.25s var(--ios-spring);
}
.ios-btn-primary:hover {
  background: var(--ios-tint-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 24px rgba(39, 49, 141, 0.4);
}
.ios-btn-primary:hover i {
  transform: translateX(3px);
}
.ios-btn-primary:active {
  transform: scale(0.97);
}
.ios-btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.ios-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s var(--ios-spring), background 0.25s ease;
}
.ios-btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px) scale(1.02);
}

.ios-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 980px;
  background: #ffffff;
  color: var(--ios-tint) !important;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s var(--ios-spring), box-shadow 0.25s ease;
}
.ios-btn-white:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.ios-btn-Subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 980px;
  border: 1px solid var(--ios-border);
  background: var(--ios-fill);
  color: var(--ios-tint) !important;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s var(--ios-spring);
}
.ios-btn-Subtle:hover {
  background: var(--ios-fill-2);
  transform: scale(1.02);
}

/* ── Squircle Icons (Apple HIG Icon Containers) ───────────── */
.ios-squircle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.ios-squircle-sm {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 16px;
}
.ios-squircle-indigo {
  background: linear-gradient(135deg, #27318d 0%, #4353cc 100%);
  color: #fff;
}
.ios-squircle-blue {
  background: linear-gradient(135deg, #007aff 0%, #38bdf8 100%);
  color: #fff;
}
.ios-squircle-teal {
  background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
  color: #fff;
}
.ios-squircle-orange {
  background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  color: #fff;
}
.ios-squircle-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
}

/* ── Key Metrics Strip ────────────────────────────────────── */
.ios-stats-section {
  padding: 16px 0 8px;
}
.ios-stat-card {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--ios-shadow);
  transition: transform 0.35s var(--ios-spring), box-shadow 0.35s ease;
  height: 100%;
}
.ios-stat-card:hover {
  box-shadow: var(--ios-shadow-lg);
}
.ios-stat-value {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ios-label);
  line-height: 1.1;
}
.ios-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ios-label-3);
  margin-top: 3px;
}

/* ── Section Chrome ───────────────────────────────────────── */
.ios-section {
  padding: clamp(44px, 6vw, 76px) 0;
}
.ios-section-tinted {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--ios-border);
  border-bottom: 1px solid var(--ios-border);
}
.ios-section-head {
  max-width: 680px;
  margin: 0 auto 42px;
}
.ios-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ios-tint);
  background: var(--ios-tint-soft);
  padding: 5px 13px;
  border-radius: 980px;
  margin-bottom: 10px;
}
.ios-section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ios-label);
  margin-bottom: 10px;
}
.ios-section-sub {
  font-size: 16.5px;
  color: var(--ios-label-2);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── Interactive Service Cards ────────────────────────────── */
.ios-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ios-surface);
  border-radius: var(--ios-radius-lg);
  border: 1px solid var(--ios-border);
  box-shadow: var(--ios-shadow);
  overflow: hidden;
  color: inherit;
  transition: transform 0.35s var(--ios-spring), box-shadow 0.35s ease;
}
.ios-service-card:hover {
  box-shadow: var(--ios-shadow-lg);
}
.ios-service-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  margin: 10px 10px 0;
  border-radius: 20px;
}
.ios-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ios-spring);
}
.ios-service-card:hover .ios-service-media img {
  transform: scale(1.07);
}
.ios-service-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 980px;
  background: rgba(15, 23, 42, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.ios-service-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ios-service-body h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ios-label);
  margin: 0 0 8px;
}
.ios-service-body p {
  font-size: 14.5px;
  color: var(--ios-label-2);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.ios-card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ios-fill);
  color: var(--ios-label-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ios-spring);
}
.ios-service-card:hover .ios-card-arrow,
.ios-contact-tile:hover .ios-card-arrow {
  background: var(--ios-tint);
  color: #fff;
  transform: rotate(45deg);
}
.ios-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ios-tint);
}
.ios-service-cta i {
  font-size: 11px;
  transition: transform 0.25s var(--ios-spring);
}
.ios-service-card:hover .ios-service-cta i {
  transform: translateX(4px);
}

/* ── Apple Bento Grid Cards ───────────────────────────────── */
.ios-bento-card {
  background: var(--ios-surface);
  border-radius: var(--ios-radius-lg);
  border: 1px solid var(--ios-border);
  box-shadow: var(--ios-shadow);
  padding: clamp(24px, 3.5vw, 36px);
  transition: transform 0.35s var(--ios-spring), box-shadow 0.35s ease;
}
.ios-bento-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ios-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--ios-tint-soft);
  color: var(--ios-tint);
  font-size: 13px;
  font-weight: 600;
}
.ios-bento-heading {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ios-label);
  margin-bottom: 12px;
}
.ios-bento-lead {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ios-label);
  line-height: 1.55;
  margin-bottom: 10px;
}
.ios-bento-text {
  font-size: 15px;
  color: var(--ios-label-2);
  line-height: 1.65;
}
.ios-credential-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.ios-credential-chip {
  background: var(--ios-fill);
  border-radius: 14px;
  padding: 12px 14px;
}
.ios-credential-chip .label {
  display: block;
  font-size: 11.5px;
  color: var(--ios-label-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ios-credential-chip strong {
  font-size: 14.5px;
  color: var(--ios-label);
  font-weight: 700;
}

.ios-bento-photo {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.ios-bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ios-spring);
}
.ios-bento-photo:hover img {
  transform: scale(1.05);
}
.ios-photo-glass-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.ios-photo-glass-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ios-label);
}
.ios-photo-glass-caption span {
  display: block;
  font-size: 12.5px;
  color: var(--ios-label-2);
}

.ios-expertise-tile {
  padding: 24px;
}
.ios-expertise-tile h5 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ios-label);
  margin-bottom: 6px;
}
.ios-expertise-tile p {
  font-size: 14px;
  color: var(--ios-label-2);
  line-height: 1.55;
}

/* ── CTA Callout Banner ───────────────────────────────────── */
.ios-cta-banner {
  border-radius: var(--ios-radius-xl);
  padding: clamp(28px, 4.5vw, 52px);
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.32) 0%, transparent 45%),
    linear-gradient(135deg, #1e2570 0%, #27318d 55%, #171c54 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(39, 49, 141, 0.25);
}
.ios-cta-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 12px;
}
.ios-cta-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.028em;
  margin-bottom: 8px;
}
.ios-cta-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  max-width: 600px;
}

/* ── Inset Page Hero (About / Projects / Metalworks) ──────── */
.ios-page-hero-shell {
  padding: 6px 12px 10px;
}
.ios-page-hero {
  position: relative;
  border-radius: var(--ios-radius-xl);
  overflow: hidden;
  min-height: 310px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--ios-shadow-lg);
  background: #0f172a;
}
.ios-page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ios-page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.82) 100%);
}
.ios-page-hero-body {
  position: relative;
  z-index: 2;
  padding: clamp(26px, 4.5vw, 48px);
  max-width: 820px;
}
.ios-page-hero-title {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.ios-page-hero-sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16.5px;
  margin-bottom: 0;
}

/* Hero Portfolio Segmented Switcher */
.ios-hero-seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.ios-hero-seg a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 980px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s var(--ios-spring);
}
.ios-hero-seg a:hover {
  color: #fff;
}
.ios-hero-seg a.active {
  background: #ffffff;
  color: var(--ios-tint);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ── iPadOS Split-View Sidebar & Settings List ────────────── */
.ios-sidebar-sticky {
  position: sticky;
  top: 88px;
}
.ios-sidebar-card {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--ios-radius);
  padding: 12px;
  box-shadow: var(--ios-shadow);
  overflow: hidden;
}
.ios-sidebar-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ios-label-3);
  padding: 6px 10px 10px;
}

/* About Settings Nav */
.ios-settings-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap !important;
  gap: 6px;
  width: 100%;
}
.ios-settings-nav .nav-item {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}
.ios-settings-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  color: var(--ios-label) !important;
  background: transparent;
  overflow: hidden;
  transition: all 0.25s var(--ios-spring);
}
.ios-settings-nav .nav-link:hover {
  background: var(--ios-fill);
}
.ios-settings-nav .nav-link.active {
  background: var(--ios-tint) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(39, 49, 141, 0.28);
}
.ios-settings-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
}
.ios-settings-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ios-settings-sub {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ios-label-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ios-settings-nav .nav-link.active .ios-settings-sub {
  color: rgba(255, 255, 255, 0.78);
}
.ios-settings-arrow {
  font-size: 11px;
  opacity: 0.4;
  flex-shrink: 0;
  transition: transform 0.25s var(--ios-spring), opacity 0.25s ease;
}
.ios-settings-nav .nav-link.active .ios-settings-arrow {
  opacity: 0.9;
  transform: translateX(2px);
}

/* Right Content Pane Card */
.ios-pane-card {
  background: var(--ios-surface);
  border-radius: var(--ios-radius-lg);
  border: 1px solid var(--ios-border);
  box-shadow: var(--ios-shadow);
  overflow: hidden;
}
.ios-pane-banner {
  position: relative;
  height: 270px;
  overflow: hidden;
  margin: 12px 12px 0;
  border-radius: 20px;
}
.ios-pane-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ios-pane-banner-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 980px;
  background: rgba(15, 23, 42, 0.68);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.ios-pane-body {
  padding: clamp(22px, 3.5vw, 34px);
}
.ios-pane-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ios-label);
}
.ios-subhead {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ios-label-3);
}
.ios-mini-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ios-fill);
  height: 100%;
}
.ios-mini-feature strong {
  display: block;
  font-size: 14.5px;
  color: var(--ios-label);
}
.ios-mini-feature span {
  font-size: 13px;
  color: var(--ios-label-2);
}
.ios-spec-box {
  background: var(--ios-fill);
  border-radius: 16px;
  padding: 16px 18px;
  height: 100%;
}
.ios-spec-box .spec-label {
  display: block;
  font-size: 12px;
  color: var(--ios-label-3);
  font-weight: 600;
  margin-bottom: 4px;
}
.ios-spec-box .spec-val {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ios-tint);
}

.ios-org-chart-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ios-border);
  background: var(--ios-fill);
  cursor: zoom-in;
  transition: transform 0.3s var(--ios-spring), box-shadow 0.3s ease;
}
.ios-org-chart-frame:hover {
  transform: scale(1.005);
  box-shadow: var(--ios-shadow);
}

.ios-quote-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  background: var(--ios-fill);
}
.ios-quote-callout h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ios-label);
  margin-bottom: 4px;
}
.ios-quote-callout p {
  font-size: 14.5px;
  color: var(--ios-label-2);
}

.ios-pillar-box {
  background: var(--ios-fill);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  transition: transform 0.25s var(--ios-spring), background 0.25s ease;
}
.ios-pillar-box:hover {
  background: var(--ios-tint-soft);
  transform: translateY(-3px);
}
.ios-pillar-box i {
  display: block;
  font-size: 22px;
  color: var(--ios-tint);
  margin-bottom: 8px;
}
.ios-pillar-box strong {
  font-size: 14.5px;
  color: var(--ios-label);
}

/* Clients Tab Search & Grid */
.ios-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--ios-tint-soft);
  color: var(--ios-tint);
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}
.ios-search-box {
  position: relative;
  min-width: 240px;
}
.ios-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ios-label-3);
  font-size: 13.5px;
}
.ios-search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: 980px;
  border: 1.5px solid transparent;
  background: var(--ios-fill);
  font-size: 14px;
  color: var(--ios-label);
  outline: none;
  transition: all 0.2s ease;
}
.ios-search-box input:focus {
  background: #fff;
  border-color: rgba(39, 49, 141, 0.45);
  box-shadow: 0 0 0 4px rgba(39, 49, 141, 0.12);
}
.ios-client-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 14px;
  background: var(--ios-fill);
  transition: background 0.2s ease, transform 0.2s var(--ios-spring);
}
.ios-client-row:hover {
  background: var(--ios-tint-soft);
  transform: translateX(3px);
}
.ios-client-num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ios-tint);
  background: rgba(39, 49, 141, 0.1);
  padding: 3px 8px;
  border-radius: 8px;
}
.ios-client-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--ios-label);
}
.ios-client-check {
  color: #34c759;
  font-size: 14px;
  opacity: 0.75;
}

/* ── Gallery (Projects & Metalworks) ──────────────────────── */
.ios-gallery-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap !important;
  gap: 4px;
  width: 100%;
}
.ios-gallery-nav .nav-item {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
}
.ios-gallery-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 11px 14px !important;
  border-radius: 13px !important;
  color: var(--ios-label) !important;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.25s var(--ios-spring);
}
.ios-gallery-nav-label {
  flex: 1 1 0%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ios-gallery-nav .nav-link:hover {
  background: var(--ios-fill);
}
.ios-gallery-nav .nav-link.active {
  background: var(--ios-tint) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(39, 49, 141, 0.28);
}
.ios-gallery-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 980px;
  background: rgba(118, 118, 128, 0.14);
  color: var(--ios-label-2);
}
.ios-gallery-nav .nav-link.active .ios-gallery-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ios-cat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 26px;
  border-radius: var(--ios-radius);
  background: var(--ios-surface);
  border: 1px solid var(--ios-border);
  box-shadow: var(--ios-shadow-sm);
}
.ios-cat-heading {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ios-project-card {
  background: var(--ios-surface);
  border-radius: var(--ios-radius-lg);
  border: 1px solid var(--ios-border);
  box-shadow: var(--ios-shadow);
  padding: clamp(20px, 3vw, 28px);
}
.ios-project-head {
  margin-bottom: 18px;
}
.ios-project-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ios-label);
  margin: 0;
}
.ios-period-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 980px;
  background: var(--ios-tint-soft);
  color: var(--ios-tint);
  font-size: 13px;
  font-weight: 600;
}
.ios-project-desc {
  font-size: 15px;
  color: var(--ios-label-2);
  line-height: 1.6;
}

.ios-gallery-viewer {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.ios-carousel,
.ios-single-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  outline: none;
}
.ios-carousel {
  cursor: grab;
  touch-action: pan-y pinch-zoom;
}
.ios-carousel.is-dragging {
  cursor: grabbing;
}
.ios-carousel-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}
.ios-carousel.is-dragging .ios-carousel-track {
  transition: none !important;
}
.ios-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.ios-carousel-img {
  display: block;
  width: 100%;
  height: clamp(290px, 52vh, 540px);
  object-fit: cover;
  cursor: zoom-in;
  will-change: transform, filter;
  transform: scale(1.08);
  filter: brightness(0.82) saturate(0.92);
  transition:
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}
.ios-carousel.is-dragging .ios-carousel-img {
  cursor: grabbing;
}
.ios-carousel-slide.is-active .ios-carousel-img,
.ios-single-photo .ios-carousel-img {
  transform: scale(1);
  filter: brightness(1) saturate(1);
}
.ios-carousel:not(.is-dragging):hover .ios-carousel-slide.is-active .ios-carousel-img,
.ios-single-photo:hover .ios-carousel-img {
  transform: scale(1.022);
}

.ios-slide-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 980px;
  background: rgba(15, 23, 42, 0.62);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Bottom Frosted Progress Track */
.ios-carousel-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 4px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
}
.ios-carousel-progress-bar {
  height: 100%;
  border-radius: 980px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  transform: translate3d(0, 0, 0);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Thumbnail Strip */
.ios-thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 4px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.ios-thumb-btn {
  flex: 0 0 76px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--ios-fill);
  opacity: 0.58;
  cursor: pointer;
  transition:
    transform 0.3s var(--ios-spring),
    opacity 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.ios-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ios-spring);
}
.ios-thumb-btn:hover {
  opacity: 0.9;
}
.ios-thumb-btn:hover img {
  transform: scale(1.06);
}
.ios-thumb-btn.active {
  opacity: 1;
  border-color: var(--ios-tint);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 14px rgba(39, 49, 141, 0.25);
}

/* ── Contact Page ─────────────────────────────────────────── */
.ios-contact-hero {
  padding: 24px 0 64px;
}
.ios-contact-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--ios-radius);
  background: var(--ios-surface);
  border: 1px solid var(--ios-border);
  box-shadow: var(--ios-shadow);
  color: inherit;
  height: 100%;
  transition: transform 0.35s var(--ios-spring), box-shadow 0.35s ease;
}
.ios-contact-tile:hover {
  box-shadow: var(--ios-shadow-lg);
}
.ios-contact-tile-body {
  flex: 1;
  min-width: 0;
}
.ios-contact-tile-body .tile-eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ios-label-3);
}
.ios-contact-tile-body strong {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ios-label);
  margin: 2px 0;
}
.ios-contact-tile-body .tile-sub {
  display: block;
  font-size: 13px;
  color: var(--ios-label-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* iOS Form Fields */
.ios-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ios-label-2);
  margin-bottom: 6px;
}
.ios-input-wrap {
  position: relative;
}
.ios-input-wrap i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ios-label-3);
  font-size: 14px;
  pointer-events: none;
}
.ios-field input,
.ios-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: var(--ios-fill);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ios-label);
  outline: none;
  transition: all 0.2s ease;
}
.ios-input-wrap input {
  padding-left: 40px;
}
.ios-field input:focus,
.ios-field textarea:focus {
  background: #fff;
  border-color: rgba(39, 49, 141, 0.45);
  box-shadow: 0 0 0 4px rgba(39, 49, 141, 0.12);
}
.ios-form-hint {
  font-size: 12.5px;
  color: var(--ios-label-3);
}
.ios-status-banner {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ios-status-banner.is-loading {
  background: var(--ios-tint-soft);
  color: var(--ios-tint);
}
.ios-status-banner.is-success {
  background: rgba(52, 199, 89, 0.15);
  color: #1e7e34;
}
.ios-status-banner.is-error {
  background: rgba(255, 59, 48, 0.14);
  color: #d70015;
}

/* Framed Map Card */
.ios-map-card {
  position: relative;
  border-radius: var(--ios-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ios-border);
  box-shadow: var(--ios-shadow);
  min-height: 440px;
  background: var(--ios-fill);
}
.ios-map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ios-map-overlay-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ios-map-overlay-card strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ios-label);
}
.ios-map-overlay-card p {
  font-size: 13px;
  color: var(--ios-label-2);
}

/* ── Framed Dark iOS Footer ───────────────────────────────── */
.ios-footer {
  padding: 20px 12px 32px;
}
.ios-footer-card {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: var(--ios-radius-xl);
  padding: clamp(32px, 5vw, 52px);
  background: linear-gradient(160deg, #192061 0%, #111642 100%);
  color: #fff;
  box-shadow: var(--ios-shadow-lg);
}
.ios-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.ios-footer-logo {
  height: 44px;
  width: auto;
  background: #fff;
  padding: 5px 10px;
  border-radius: 12px;
}
.ios-footer-brand h5 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0;
}
.ios-footer-text {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.65;
}
.ios-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ios-spring), background 0.2s ease;
}
.ios-social-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}
.ios-cidb-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
}
.ios-footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.ios-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ios-footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px;
}
.ios-footer-contact-row .icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
}
.ios-footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ios-footer-links-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px;
  padding: 4px 0;
  transition: transform 0.2s var(--ios-spring), color 0.2s ease;
}
.ios-footer-links-grid a i {
  font-size: 10px;
  opacity: 0.6;
}
.ios-footer-links-grid a:hover {
  color: #fff !important;
  transform: translateX(4px);
}
.ios-footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Fullscreen iOS Lightbox ──────────────────────────────── */
.ios-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ios-spring);
}
.ios-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.ios-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 28, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
}
.ios-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ios-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}
.ios-lightbox-stage {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 86vh;
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.35s var(--ios-spring);
}
.ios-lightbox.is-open .ios-lightbox-stage {
  transform: scale(1);
}
.ios-lightbox-stage img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.ios-lightbox-caption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

/* ── Back to Top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.86) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  color: var(--ios-tint) !important;
  border: 1px solid var(--ios-glass-border) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: all 0.3s var(--ios-spring);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  transform: translateY(-2px) scale(1.06);
  background: #fff !important;
}

/* ── iOS AEO FAQ Accordion ────────────────────────────────── */
.ios-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ios-faq-item {
  background: var(--ios-surface);
  border: 1px solid var(--ios-border);
  border-radius: 20px;
  box-shadow: var(--ios-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s var(--ios-spring);
}
.ios-faq-item:hover {
  box-shadow: var(--ios-shadow);
}
.ios-faq-header {
  margin: 0;
}
.ios-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ios-label);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.ios-faq-btn:hover {
  background: rgba(118, 118, 128, 0.05);
}
.ios-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ios-tint-soft);
  color: var(--ios-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.3s var(--ios-spring), background 0.25s ease, color 0.25s ease;
}
.ios-faq-btn:not(.collapsed) .ios-faq-icon {
  background: var(--ios-tint);
  color: #fff;
  transform: rotate(45deg);
}
.ios-faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ios-label-2);
}

/* ── Responsive Adjustments ───────────────────────────────── */
@media (max-width: 991.98px) {
  .ios-floating-nav {
    border-radius: 980px;
    padding: 8px 14px !important;
    transition: border-radius 0.35s var(--ios-spring), box-shadow 0.35s ease;
  }
  .ios-floating-nav:has(.navbar-collapse.show),
  .ios-floating-nav:has(.navbar-collapse.collapsing) {
    border-radius: 26px;
  }
  .ios-nav-inner {
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: space-between;
  }
  .ios-brand {
    padding: 4px 0 !important;
  }
  .navbar-logo {
    height: 36px !important;
  }
  .ios-toggler {
    transition: background 0.2s ease;
  }
  .ios-toggler .ios-toggler-bar {
    transform: none;
    transition: transform 0.25s var(--ios-spring);
  }
  .ios-toggler[aria-expanded="true"] .ios-toggler-bar:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }
  .ios-toggler[aria-expanded="true"] .ios-toggler-bar:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .ios-floating-nav .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .ios-nav-track {
    width: 100%;
    background: transparent;
    padding: 4px 0 8px;
  }
  .ios-nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .ios-nav-list .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
    border-radius: 14px;
    font-size: 15px;
  }
  .ios-nav-list .nav-link.active {
    background: var(--ios-tint-soft);
  }
  .ios-nav-actions {
    padding: 4px 0 6px;
  }
  .ios-btn-quote {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14.5px;
  }
  .ios-sidebar-sticky {
    position: static;
  }
  .ios-gallery-nav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
  }
  .ios-gallery-nav .nav-item {
    flex: 0 0 auto;
  }
  .ios-credential-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  body.ios-body {
    padding-top: 80px;
  }
  .ios-hero-card .carousel-item {
    height: 76vh;
    min-height: 460px;
  }
  .ios-map-overlay-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
