/**
 * =====================================================================
 * TRUE NEUMORPHISM DIGITAL BUSINESS CARD (100VW × 100DVH MOBILE FIT)
 * =====================================================================
 * Dark Mode:  Matte Charcoal (#242424) sculpted pillows & inset dock
 * Light Mode: Soft Alabaster (#E6E9EF) plush pillows & raised dock
 * Side B:     Hexagonal SVG Service Cards with Animated Liquid Waves
 * =====================================================================
 */

:root {
  --font-display: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* LIGHT MODE — Soft Alabaster Neumorphism with #0E1E2B & #FF0000 Brand Palette */
  --bg-outer: #DCE0E8;
  --neu-bg: #E6E9EF;
  --neu-dark: #C3C9D5;
  --neu-light: #FFFFFF;
  --text-primary: #0E1E2B;
  --text-secondary: #4A5A6A;
  --text-muted: #788696;
  --accent: #0E1E2B;
  --accent-alt: #FF0000;
  --accent-text: #FF0000;
  --divider: rgba(14, 30, 43, 0.12);
  --slider-bg: #0E1E2B;
  --slider-text: #FFFFFF;
  --hex-fill: #FFFFFF;
  --hex-stroke: #94A3B8;
  --hex-text: #0E1E2B;
  --hex-halo: #FFFFFF;
}

html.dark {
  /* DARK MODE — Matte Charcoal Neumorphism (Reference Image 1) */
  --bg-outer: #161616;
  --neu-bg: #242424;
  --neu-dark: #141414;
  --neu-light: #333333;
  --text-primary: #FFFFFF;
  --text-secondary: #A6A6A6;
  --text-muted: #757575;
  --accent: #FFFFFF;
  --accent-alt: #F5B427;
  --accent-text: #FFFFFF;
  --divider: rgba(255, 255, 255, 0.14);
  --slider-bg: #FFFFFF;
  --slider-text: #181818;
  --hex-fill: #2A2A2A;
  --hex-stroke: #4A4A4A;
  --hex-text: #F8FAFC;
  --hex-halo: #2A2A2A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  font-family: var(--font-body);
  background-color: var(--bg-outer);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full 100vw x 100dvh on mobile; true smartphone proportion on desktop */
.card-viewport {
  width: 100vw;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background-color: var(--neu-bg);
}

@media (min-width: 520px) and (min-height: 620px) {
  .card-viewport {
    width: min(100vw - 32px, 412px);
    height: min(100dvh - 32px, 868px);
    border-radius: 42px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  }
}

@media (min-width: 520px) and (max-height: 619px) {
  .card-viewport {
    width: min(100vw, 430px);
    height: 100dvh;
  }
}

.card-scene {
  width: 100%;
  height: 100%;
  perspective: 1600px;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-inner.is-flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: var(--neu-bg);
  padding-top: max(clamp(12px, 2.2vh, 22px), env(safe-area-inset-top));
  padding-bottom: max(clamp(12px, 2.2vh, 22px), env(safe-area-inset-bottom));
  padding-left: max(clamp(16px, 4.5vw, 22px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 4.5vw, 22px), env(safe-area-inset-right));
}

.card-front {
  transform: rotateY(0deg);
  pointer-events: auto;
}

.card-back {
  transform: rotateY(180deg);
  pointer-events: none;
}

.card-inner.is-flipped .card-front { pointer-events: none; }
.card-inner.is-flipped .card-back { pointer-events: auto; }

/* =====================================================================
   TRUE NEUMORPHIC PRIMITIVES (Pure Light & Shadow — Zero Flat Borders)
   ===================================================================== */
.neu-card {
  background: var(--neu-bg);
  border-radius: 22px;
  box-shadow:
    8px 8px 16px var(--neu-dark),
    -8px -8px 16px var(--neu-light);
}

.neu-pill {
  background: var(--neu-bg);
  border-radius: 999px;
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -6px -6px 12px var(--neu-light);
  display: inline-flex;
  align-items: center;
  border: none;
  color: var(--text-primary);
}

.neu-circle-raised {
  background: var(--neu-bg);
  border-radius: 50%;
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -6px -6px 12px var(--neu-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.neu-circle-btn {
  background: var(--neu-bg);
  border-radius: 50%;
  box-shadow:
    5px 5px 10px var(--neu-dark),
    -5px -5px 10px var(--neu-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.neu-circle-btn:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -4px -4px 8px var(--neu-light);
  transform: scale(0.95);
}

.neu-circle-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--neu-bg);
  color: var(--text-primary);
  box-shadow:
    5px 5px 10px var(--neu-dark),
    -5px -5px 10px var(--neu-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.neu-circle-sm:active {
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -3px -3px 6px var(--neu-light);
  transform: scale(0.94);
}

.neu-circle-sm svg {
  width: 16px;
  height: 16px;
}

/* =====================================================================
   TOP BAR
   ===================================================================== */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Digital Watch UAE Clock / Location Pill */
.uae-clock-pill {
  position: relative;
  height: 36px;
  min-width: 90px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--neu-bg);
  box-shadow:
    inset 3px 3px 6px var(--neu-dark),
    inset -3px -3px 6px var(--neu-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  overflow: hidden;
  user-select: none;
}

.clock-face {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.clock-face-time {
  font-size: 14px;
  animation: uaeClockTime 6s ease-in-out infinite;
}

.clock-face-loc {
  font-size: 14px;
  letter-spacing: 0.16em;
  opacity: 0;
  animation: uaeClockLoc 6s ease-in-out infinite;
}

.clock-colon {
  display: inline-block;
  margin: 0 1px;
  animation: uaeColonBlink 1s steps(1, end) infinite;
}

.clock-ampm {
  font-size: 11px;
  margin-left: 3px;
  opacity: 0.85;
}

@keyframes uaeColonBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0.2; }
}

@keyframes uaeClockTime {
  0%, 54%   { opacity: 1; }
  60%, 94%  { opacity: 0; }
  100%      { opacity: 1; }
}

@keyframes uaeClockLoc {
  0%, 58%   { opacity: 0; }
  64%, 92%  { opacity: 1; }
  98%, 100% { opacity: 0; }
}

.brand-pill {
  padding: 7px 15px;
  gap: 9px;
}

.brand-logo-img {
  width: clamp(104px, 30vw, 120px);
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-for-dark { display: none; }
.logo-for-light { display: block; }
html.dark .logo-for-dark { display: block; }
html.dark .logo-for-light { display: none; }
.print-only-icon { display: none; }

.brand-name {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.pill-divider {
  width: 1.5px;
  height: 13px;
  background: var(--divider);
  border-radius: 2px;
}

.pill-divider-sm {
  width: 1.5px;
  height: 14px;
  background: var(--divider);
}

.brand-loc {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.controls-pill {
  padding: 4px 6px;
  gap: 4px;
}

.pill-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.pill-icon-btn:active { transform: scale(0.9); }
.pill-icon-btn svg { width: 15px; height: 15px; }

.sun-icon { display: none; }
.moon-icon { display: block; }
html.dark .sun-icon { display: block; }
html.dark .moon-icon { display: none; }

.back-pill {
  padding: 9px 14px;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.back-pill:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -4px -4px 8px var(--neu-light);
  transform: scale(0.96);
}

.back-pill svg { width: 14px; height: 14px; }

.back-title {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

/* =====================================================================
   HERO IDENTITY PILLOW
   ===================================================================== */
.hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(12px, 2vh, 18px) clamp(14px, 4vw, 18px);
  flex-shrink: 0;
}

.monogram-badge {
  width: clamp(74px, 9.8vh, 84px);
  height: clamp(74px, 9.8vh, 84px);
  flex-shrink: 0;
  padding: 5px;
}

.hero-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.monogram-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.7vh, 23px);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-info {
  min-width: 0;
  flex: 1;
}

.owner-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15.5px, 2.1vh, 18.5px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text-primary);
}

.owner-title {
  font-family: var(--font-body);
  font-size: clamp(14.5px, 1.9vh, 16px);
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* Brand 5-dot sequential indicator */
.accent-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.35);
  will-change: opacity, transform;
}

.d1 {
  background: #FF0000;
  animation: dotAppear1 3.5s ease-in-out infinite;
}
.d2 {
  background: #F9D342;
  animation: dotAppear2 3.5s ease-in-out infinite;
}
.d3 {
  background: #FFFFFF;
  animation: dotAppear3 3.5s ease-in-out infinite;
}
html:not(.dark) .d3 {
  box-shadow: 0 0 0 0.75px rgba(14, 30, 43, 0.22);
}
.d4 {
  background: #B9D928;
  animation: dotAppear4 3.5s ease-in-out infinite;
}
.d5 {
  background: #01C9F8;
  animation: dotAppear5 3.5s ease-in-out infinite;
}

@keyframes dotAppear1 {
  0%         { opacity: 0; transform: scale(0.35); }
  8%         { opacity: 1; transform: scale(1.12); }
  12%, 84%   { opacity: 1; transform: scale(1); }
  94%, 100%  { opacity: 0; transform: scale(0.35); }
}

@keyframes dotAppear2 {
  0%, 12%    { opacity: 0; transform: scale(0.35); }
  20%        { opacity: 1; transform: scale(1.12); }
  24%, 84%   { opacity: 1; transform: scale(1); }
  94%, 100%  { opacity: 0; transform: scale(0.35); }
}

@keyframes dotAppear3 {
  0%, 24%    { opacity: 0; transform: scale(0.35); }
  32%        { opacity: 1; transform: scale(1.12); }
  36%, 84%   { opacity: 1; transform: scale(1); }
  94%, 100%  { opacity: 0; transform: scale(0.35); }
}

@keyframes dotAppear4 {
  0%, 36%    { opacity: 0; transform: scale(0.35); }
  44%        { opacity: 1; transform: scale(1.12); }
  48%, 84%   { opacity: 1; transform: scale(1); }
  94%, 100%  { opacity: 0; transform: scale(0.35); }
}

@keyframes dotAppear5 {
  0%, 48%    { opacity: 0; transform: scale(0.35); }
  56%        { opacity: 1; transform: scale(1.12); }
  60%, 84%   { opacity: 1; transform: scale(1); }
  94%, 100%  { opacity: 0; transform: scale(0.35); }
}

/* =====================================================================
   FULL-WIDTH 4-TILE ACTION GRID (PHONE, WHATSAPP, EMAIL, LOCATION)
   ===================================================================== */
.action-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 2.8vw, 14px);
  flex-shrink: 0;
}

.action-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(12px, 1.85vh, 17px) clamp(12px, 3.5vw, 16px);
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.action-tile:active {
  box-shadow:
    inset 5px 5px 10px var(--neu-dark),
    inset -5px -5px 10px var(--neu-light);
  transform: scale(0.97);
}

.action-tile-icon {
  width: clamp(38px, 5.2vh, 46px);
  height: clamp(38px, 5.2vh, 46px);
  flex-shrink: 0;
  color: var(--text-primary);
}

.action-tile-icon svg {
  width: clamp(17px, 2.3vh, 20px);
  height: clamp(17px, 2.3vh, 20px);
}

.action-tile-label {
  font-family: var(--font-body);
  font-size: clamp(14.5px, 1.95vh, 16px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

/* =====================================================================
   DETAILS STRIP
   ===================================================================== */
.details-strip {
  padding: clamp(8px, 1.2vh, 11px) 16px;
  flex-shrink: 0;
}

.detail-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(5px, 0.85vh, 7px) 0;
  text-decoration: none;
  color: var(--text-primary);
}

.detail-sep {
  height: 1px;
  background: var(--divider);
  opacity: 0.5;
}

.detail-key {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.detail-val {
  font-family: var(--font-body);
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.detail-val[data-field="address"] {
  font-size: clamp(13px, 3.6vw, 15px);
}

/* =====================================================================
   SLIDER-STYLE CTA (Ref Image 1 White Block / Ref Image 2 Gold Block)
   ===================================================================== */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.3vh, 12px);
  flex-shrink: 0;
}

.neu-slider-cta {
  width: 100%;
  height: clamp(46px, 6.2vh, 54px);
  border-radius: 10px;
  border: none;
  padding: 5px;
  background: var(--slider-bg);
  box-shadow:
    7px 7px 15px var(--neu-dark),
    -6px -6px 14px var(--neu-light);
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.neu-slider-cta:active {
  transform: scale(0.98);
}

.slider-knob {
  width: clamp(38px, 5.2vh, 44px);
  height: 100%;
  border-radius: 7px;
  background: var(--neu-bg);
  color: var(--text-primary);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slider-knob svg {
  width: 18px;
  height: 18px;
}

.slider-label {
  flex: 1;
  text-align: center;
  padding-right: clamp(18px, 4.5vw, 34px);
  font-family: var(--font-display);
  font-size: clamp(12px, 3.6vw, 14.5px);
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--slider-text);
}

.split-actions {
  display: grid;
  grid-template-columns: 0.82fr 1.52fr 0.82fr;
  gap: clamp(6px, 2.2vw, 9px);
}

.neu-btn {
  height: clamp(40px, 5.4vh, 46px);
  border-radius: 10px;
  border: none;
  padding: 0 6px;
  background: var(--neu-bg);
  color: var(--text-primary);
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -6px -6px 12px var(--neu-light);
  font-family: var(--font-body);
  font-size: clamp(12px, 3.6vw, 14.5px);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1.2vw, 5px);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.neu-btn:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -4px -4px 8px var(--neu-light);
  transform: scale(0.97);
}

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

@keyframes spinNeonBorder {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.neu-btn-highlight {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: var(--neu-bg);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(10.5px, 3.25vw, 13px);
  font-weight: 700;
  letter-spacing: clamp(0.02em, 0.35vw, 0.06em);
  text-transform: uppercase;
  box-shadow:
    0 0 12px rgba(255, 30, 56, 0.32),
    0 0 22px rgba(0, 229, 255, 0.22),
    6px 6px 12px var(--neu-dark),
    -5px -5px 10px var(--neu-light);
}

.neu-btn-highlight::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280%;
  aspect-ratio: 1 / 1;
  z-index: -2;
  background: conic-gradient(
    from 0deg,
    #FF1E38 0deg,
    #00E5FF 180deg,
    #FF1E38 360deg
  );
  animation: spinNeonBorder 3s linear infinite;
}

.neu-btn-highlight::after {
  content: '';
  position: absolute;
  inset: 1.25px;
  border-radius: 9px;
  background: var(--neu-bg);
  z-index: -1;
}

.neu-btn-highlight > * {
  position: relative;
  z-index: 1;
}

.neu-btn-highlight:hover::before {
  animation-duration: 1.6s;
}

.neu-btn-highlight:active {
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -4px -4px 8px var(--neu-light);
  transform: scale(0.97);
}

/* =====================================================================
   BOTTOM DOCK (Inset Trough in Dark Mode / Raised Pill in Light Mode)
   ===================================================================== */
.bottom-dock-wrap {
  flex-shrink: 0;
}

.neu-dock {
  width: 100%;
  height: clamp(50px, 6.8vh, 60px);
  border-radius: 12px;
  padding: 0 14px;
  background: var(--neu-bg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* Light mode: Raised plush dock like Ref Image 2 */
  box-shadow:
    7px 7px 14px var(--neu-dark),
    -7px -7px 14px var(--neu-light);
}

/* Dark mode: Deeply recessed inset trough like Ref Image 1 */
html.dark .neu-dock {
  box-shadow:
    inset 6px 6px 12px var(--neu-dark),
    inset -6px -6px 12px var(--neu-light);
}

.dock-btn {
  width: clamp(36px, 5vh, 42px);
  height: clamp(36px, 5vh, 42px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--neu-bg);
  box-shadow:
    4px 4px 8px var(--neu-dark),
    -4px -4px 8px var(--neu-light);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

html.dark .dock-btn {
  background: transparent;
  box-shadow: none;
}

.dock-btn:active {
  transform: scale(0.92);
}

.dock-btn svg {
  width: 17px;
  height: 17px;
}

/* =====================================================================
   SIDE B: SERVICES WE OFFER (EXACT REFERENCE 2×3 FRAMED CARDS + ABOUT)
   ===================================================================== */
.back-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.back-heading {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vh, 16.5px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
}

.services-frame {
  flex: 1;
  min-height: 0;
  margin: clamp(7px, 1vh, 10px) 0;
  padding: clamp(7px, 0.95vh, 10px);
  border-radius: 22px;
  border: none;
  background: var(--neu-bg);
  box-shadow:
    inset 4px 4px 10px var(--neu-dark),
    inset -4px -4px 10px var(--neu-light);
  display: flex;
  flex-direction: column;
}

.services-2x3-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(7px, 1vh, 10px);
}

.srv-tile {
  position: relative;
  border: none;
  border-radius: 17px;
  padding: clamp(6px, 0.8vh, 9px) 6px clamp(5px, 0.65vh, 8px);
  background: var(--neu-bg);
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -5px -5px 10px var(--neu-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 0.85vh, 8px);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

html.dark .srv-tile {
  background: #1C1C1C;
  box-shadow:
    6px 6px 12px #111111,
    -4px -4px 10px #2C2C2C;
}

.srv-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  border-top: 6.5px solid var(--cap-color, #FACC15);
  border-radius: 18px 18px 0 0;
  pointer-events: none;
}

.srv-tile:hover {
  transform: translateY(-2px);
}

.srv-tile:active {
  transform: scale(0.96);
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -4px -4px 8px var(--neu-light);
}

.srv-tile-icon {
  width: clamp(32px, 4.4vh, 42px);
  height: clamp(32px, 4.4vh, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.srv-tile-icon svg {
  width: 100%;
  height: 100%;
}

.srv-tile-title {
  font-family: var(--font-display);
  font-size: clamp(11px, 3.2vw, 14px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* =====================================================================
   SIDE B: A BRIEF ABOUT US BOX & BOOK A CONSULTATION CTA
   ===================================================================== */
.about-box {
  flex-shrink: 0;
  border-radius: 18px;
  padding: clamp(13px, 1.85vh, 18px) clamp(14px, 3.6vw, 18px);
  background: var(--neu-bg);
  border: 1px solid var(--divider);
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -6px -6px 12px var(--neu-light);
  margin-bottom: clamp(9px, 1.3vh, 13px);
}

.about-box-title {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.85vh, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FF0000;
  margin-bottom: clamp(6px, 0.85vh, 9px);
}

.about-box-title::after {
  content: ':';
}

html.dark .about-box-title {
  color: #FACC15;
}

.about-box-text {
  font-size: clamp(13px, 1.85dvh, 15.2px);
  line-height: 1.54;
  color: #334155;
  white-space: pre-line;
  text-align: justify;
  text-justify: inter-word;
}

html.dark .about-box-text {
  color: #D4D4D8;
}

.back-cta-wrap {
  flex-shrink: 0;
}

.consult-cta-btn {
  width: 100%;
  height: clamp(42px, 5.8vh, 50px);
  border: none;
  border-radius: 10px;
  background: #1B1F27;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.7vh, 14.5px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    6px 6px 14px var(--neu-dark),
    -5px -5px 12px var(--neu-light);
  transition: transform 0.16s ease, filter 0.16s ease;
}

html.dark .consult-cta-btn {
  background: #FFFFFF;
  color: #14181F;
}

.consult-cta-btn:active {
  transform: scale(0.98);
}

/* =====================================================================
   QR MODAL & TOAST
   ===================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.modal-card {
  width: 100%;
  max-width: 310px;
  padding: 24px;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 20px;
  line-height: 1;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.qr-box {
  width: 176px;
  height: 176px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 20px;
  background: #FFFFFF;
  color: #181818;
}

.qr-box svg {
  width: 100%;
  height: 100%;
}

.card-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--neu-bg);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    6px 6px 14px var(--neu-dark),
    -6px -6px 14px var(--neu-light);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =====================================================================
   FULL-SCREEN SCROLLABLE STRATEGY SESSION BOOKING SHEET
   ===================================================================== */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.booking-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.booking-sheet {
  width: 100vw;
  height: 100dvh;
  background: var(--neu-bg);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(18px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-overlay.open .booking-sheet {
  transform: translateY(0);
}

@media (min-width: 520px) and (min-height: 620px) {
  .booking-sheet {
    width: min(100vw - 32px, 412px);
    height: min(100dvh - 32px, 868px);
    border-radius: 42px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  }
}

@media (min-width: 520px) and (max-height: 619px) {
  .booking-sheet {
    width: min(100vw, 430px);
    height: 100dvh;
  }
}

.booking-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 18px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--divider);
}

.booking-back-btn {
  padding: 7px 13px;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
}

.booking-back-btn svg {
  width: 14px;
  height: 14px;
}

.booking-topbar-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

.booking-scroll-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px max(26px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.25) transparent;
}

.booking-scroll-body::-webkit-scrollbar {
  width: 4px;
}

.booking-scroll-body::-webkit-scrollbar-track {
  background: transparent;
}

.booking-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
  border-radius: 999px;
}

.booking-hero {
  border-radius: 18px;
  padding: 18px 16px;
  background: var(--neu-bg);
  box-shadow:
    6px 6px 12px var(--neu-dark),
    -6px -6px 12px var(--neu-light);
}

.booking-eyebrow {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #FF0000;
  margin-bottom: 5px;
}

html.dark .booking-eyebrow {
  color: #E5B869;
}

.booking-main-heading {
  font-family: var(--font-display);
  font-size: clamp(14.5px, 4.5vw, 19.5px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-primary);
}

.booking-hero-sub {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.54;
  color: #334155;
}

html.dark .booking-hero-sub {
  color: #D4D4D8;
}

.booking-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-meta-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--neu-bg);
  box-shadow:
    inset 3px 3px 7px var(--neu-dark),
    inset -3px -3px 7px var(--neu-light);
}

.booking-meta-pill svg {
  width: 15px;
  height: 15px;
  color: #FF0000;
  flex-shrink: 0;
}

html.dark .booking-meta-pill svg {
  color: #E5B869;
}

.booking-meta-pill.meta-accent span {
  color: #0E1E2B;
  font-weight: 600;
}

html.dark .booking-meta-pill.meta-accent span {
  color: #E5B869;
}

/* Step Cards */
.booking-step-card {
  border-radius: 20px;
  padding: 16px 14px;
  background: var(--neu-bg);
  box-shadow:
    7px 7px 14px var(--neu-dark),
    -7px -7px 14px var(--neu-light);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--divider);
}

.step-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #0E1E2B;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.dark .step-badge {
  background: #E5B869;
  color: #181818;
}

.step-heading {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.live-slots-tag {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  color: #FF0000;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

html.dark .live-slots-tag {
  color: #E5B869;
  border-color: rgba(229, 184, 105, 0.35);
}

/* Calendar inside Step 1 */
.cal-box {
  border-radius: 14px;
  padding: 12px 10px;
  background: var(--neu-bg);
  box-shadow:
    inset 4px 4px 8px var(--neu-dark),
    inset -4px -4px 8px var(--neu-light);
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}

.cal-arrow {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-month {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0E1E2B;
}

html.dark .cal-month {
  color: #E5B869;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.cal-weekdays span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #FF0000;
  letter-spacing: 0.03em;
}

html.dark .cal-weekdays span {
  color: var(--text-secondary);
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 5px;
  text-align: center;
}

.cal-day {
  width: min(34px, 100%);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: clamp(13.5px, 3.8vw, 15.5px);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.14s ease;
}

.cal-day:hover:not(:disabled) {
  background: rgba(14, 30, 43, 0.1);
}

html.dark .cal-day:hover:not(:disabled) {
  background: rgba(229, 184, 105, 0.18);
}

.cal-day.is-today {
  box-shadow: inset 0 0 0 1.5px #FF0000;
}

html.dark .cal-day.is-today {
  box-shadow: inset 0 0 0 1.5px #E5B869;
}

.cal-day.is-selected {
  background: #0E1E2B;
  color: #FFFFFF;
  font-weight: 700;
}

html.dark .cal-day.is-selected {
  background: #E5B869;
  color: #181818;
}

.cal-day:disabled {
  color: var(--text-muted);
  opacity: 0.4;
  cursor: default;
}

.slots-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slots-label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0E1E2B;
}

html.dark .slots-label {
  color: #E5B869;
}

.slots-date-badge {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #FF0000;
}

html.dark .slots-date-badge {
  color: var(--text-secondary);
}

/* 3×3 Time Slots Grid */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.slot-btn {
  padding: 10px 4px;
  border-radius: 10px;
  border: none;
  background: var(--neu-bg);
  color: var(--text-primary);
  box-shadow:
    4px 4px 8px var(--neu-dark),
    -4px -4px 8px var(--neu-light);
  font-family: var(--font-display);
  font-size: clamp(12px, 3.5vw, 14.5px);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.slot-btn.is-selected {
  background: #0E1E2B;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(14, 30, 43, 0.28);
}

html.dark .slot-btn.is-selected {
  background: #E5B869;
  color: #181818;
  box-shadow: 0 4px 12px rgba(229, 184, 105, 0.35);
}

/* Consultation Format */
.format-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

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

.format-btn {
  padding: 10px 6px;
  border-radius: 10px;
  border: none;
  background: var(--neu-bg);
  color: var(--text-primary);
  box-shadow:
    4px 4px 8px var(--neu-dark),
    -4px -4px 8px var(--neu-light);
  font-family: var(--font-body);
  font-size: clamp(12.5px, 3.6vw, 15px);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.format-btn.is-selected {
  background: #0E1E2B;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(14, 30, 43, 0.28);
}

html.dark .format-btn.is-selected {
  background: #E5B869;
  color: #181818;
  box-shadow: 0 4px 12px rgba(229, 184, 105, 0.35);
}

/* Step 2 Form Fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-label {
  font-size: 15.5px;
  font-weight: 500;
  color: #334155;
}

html.dark .field-label {
  color: #D4D4D8;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--neu-bg);
  box-shadow:
    inset 3.5px 3.5px 7px var(--neu-dark),
    inset -3.5px -3.5px 7px var(--neu-light);
  outline: none;
  transition: box-shadow 0.15s ease;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  box-shadow:
    inset 3.5px 3.5px 7px var(--neu-dark),
    inset -3.5px -3.5px 7px var(--neu-light),
    0 0 0 1.5px #0E1E2B;
}

html.dark .field-input:focus,
html.dark .field-select:focus,
html.dark .field-textarea:focus {
  box-shadow:
    inset 3.5px 3.5px 7px var(--neu-dark),
    inset -3.5px -3.5px 7px var(--neu-light),
    0 0 0 1.5px #E5B869;
}

.field-select option {
  background: #1F2229;
  color: #FFFFFF;
}

html.light .field-select option {
  background: #FFFFFF;
  color: #1B1F27;
}

.field-textarea {
  resize: none;
}

.booking-divider {
  height: 1px;
  background: var(--divider);
  margin: 2px 0;
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.book-btn {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

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

.book-btn:active {
  transform: scale(0.98);
}

.book-btn-wa {
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.book-btn-email {
  background: #0E1E2B;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(14, 30, 43, 0.25);
}

html.dark .book-btn-email {
  background: #E5B869;
  color: #181818;
  box-shadow: 0 6px 16px rgba(229, 184, 105, 0.28);
}

.book-btn:hover {
  filter: brightness(1.06);
}

.booking-footnote {
  text-align: center;
  font-size: 14.5px;
  font-style: italic;
  color: var(--text-secondary);
}

.booking-copyright {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
  padding-bottom: 6px;
}

/* =====================================================================
   COMPREHENSIVE FLUID MOBILE RESPONSIVENESS
   Covers: 320px–480px phones, short 533–667px screens, tall 852–956px
   flagships, foldables, tablets, and mobile landscape viewports
   ===================================================================== */

/* 1. Compact Widths (<= 374px: Galaxy S3–S9 360px, Z Flip 360px, iPhone 5 320px) */
@media (max-width: 374px) {
  .card-face {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .brand-pill {
    padding: 6px 11px;
  }

  .brand-logo-img {
    width: 102px;
    height: auto;
  }

  .top-bar-right {
    gap: 6px;
  }

  .uae-clock-pill {
    height: 32px;
    min-width: 74px;
    padding: 0 8px;
  }

  .clock-face-time { font-size: 11.5px; }
  .clock-face-loc  { font-size: 12px; }

  .neu-circle-sm {
    width: 34px;
    height: 34px;
  }

  .hero-card {
    gap: 11px;
    padding: clamp(10px, 1.6vh, 14px) 12px;
  }

  .monogram-badge {
    width: clamp(58px, 8.2vh, 66px);
    height: clamp(58px, 8.2vh, 66px);
    padding: 4px;
  }

  .owner-name {
    font-size: clamp(13.5px, 4.2vw, 16px);
  }

  .owner-title {
    font-size: 13.5px;
  }

  .action-tiles-grid {
    gap: 9px;
  }

  .action-tile {
    gap: 9px;
    padding: clamp(9px, 1.5vh, 13px) 10px;
    border-radius: 18px;
  }

  .action-tile-icon {
    width: 34px;
    height: 34px;
  }

  .action-tile-icon svg {
    width: 16px;
    height: 16px;
  }

  .action-tile-label {
    font-size: 13px;
  }

  .details-strip {
    padding: 7px 12px;
    border-radius: 18px;
  }

  .detail-key {
    font-size: 11.5px;
  }

  .detail-val {
    font-size: 13px;
  }

  .booking-scroll-body {
    padding: 12px 12px max(22px, env(safe-area-inset-bottom));
  }

  .booking-step-card {
    padding: 13px 11px;
  }

  .cal-box {
    padding: 10px 6px;
  }
}

/* 2. Ultra-Narrow Widths (<= 335px: iPhone 5/5s 320×568, 320×533, 320×480) */
@media (max-width: 335px) {
  .card-face {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .brand-pill {
    padding: 5px 9px;
  }

  .brand-logo-img {
    width: 88px;
    height: auto;
  }

  .uae-clock-pill {
    height: 30px;
    min-width: 68px;
    padding: 0 6px;
  }

  .clock-face-time { font-size: 10.5px; }
  .clock-face-loc  { font-size: 11px; }

  .neu-circle-sm {
    width: 32px;
    height: 32px;
  }

  .monogram-badge {
    width: 54px;
    height: 54px;
  }

  .owner-name {
    font-size: 13.5px;
  }

  .action-tile {
    gap: 7px;
    padding: 8px 8px;
  }

  .action-tile-icon {
    width: 30px;
    height: 30px;
  }

  .action-tile-icon svg {
    width: 15px;
    height: 15px;
  }

  .action-tile-label {
    font-size: 12.2px;
  }

  .neu-btn svg {
    width: 12px;
    height: 12px;
  }

  .neu-dock {
    padding: 0 8px;
  }

  .dock-btn {
    width: 32px;
    height: 32px;
  }

  .dock-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* 3. Short Mobile Screens (<= 700px height: iPhone SE 375×667, Galaxy S7 360×640, 320×568) */
@media (max-height: 700px) {
  .card-face {
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .hero-card {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 18px;
  }

  .monogram-badge {
    width: clamp(54px, 8.6dvh, 66px);
    height: clamp(54px, 8.6dvh, 66px);
    padding: 4px;
  }

  .accent-dots {
    margin-top: 5px;
  }

  .action-tiles-grid {
    gap: 8px;
  }

  .action-tile {
    padding-top: 9px;
    padding-bottom: 9px;
    border-radius: 16px;
  }

  .action-tile-icon {
    width: clamp(32px, 5dvh, 38px);
    height: clamp(32px, 5dvh, 38px);
  }

  .details-strip {
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 16px;
  }

  .detail-line {
    padding: 4px 0;
  }

  .cta-stack {
    gap: 7px;
  }

  .neu-slider-cta {
    height: clamp(40px, 6.2dvh, 46px);
  }

  .neu-btn {
    height: clamp(36px, 5.4dvh, 40px);
  }

  .neu-dock {
    height: clamp(44px, 6.6dvh, 50px);
  }

  /* Side B compact vertical rhythm */
  .services-frame {
    margin: 7px 0;
    padding: 7px;
    border-radius: 18px;
  }

  .services-2x3-grid {
    gap: 7px;
  }

  .srv-tile {
    border-radius: 14px;
    padding: 8px 6px 5px;
    gap: 4px;
  }

  .srv-tile::before {
    border-top-width: 5px;
    border-radius: 14px 14px 0 0;
  }

  .srv-tile-icon {
    width: clamp(24px, 3.8dvh, 32px);
    height: clamp(24px, 3.8dvh, 32px);
  }

  .about-box {
    padding: 9px 12px;
    margin-bottom: 7px;
    border-radius: 15px;
  }

  .about-box-title {
    font-size: 11.5px;
    margin-bottom: 4px;
  }

  .about-box-text {
    font-size: clamp(11px, 1.65dvh, 13px);
    line-height: 1.4;
  }
}

/* 4. Ultra-Short & Mobile Landscape Safety Net (<= 580px height: 320×568, 320×533, 320×480, 768×360, 991×568) */
@media (max-height: 580px) {
  .card-face {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 10px;
    scrollbar-width: thin;
  }

  .services-frame {
    flex: 0 0 auto;
    min-height: 248px;
  }
}

/* =====================================================================
   2-PAGE FULL-SIZE 9:16 PORTRAIT PRINT / SAVE-AS-PDF LAYOUT
   Page 1 = Front Profile Card | Page 2 = Services & About Card
   Sized 140mm × 248mm (9:16) to fit BOTH A4 & US Letter cleanly (2 pages)
   ===================================================================== */
@page {
  size: A4 portrait;
  margin: 8mm;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html,
  body {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: var(--bg-outer) !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .booking-overlay,
  .card-toast {
    display: none !important;
  }

  .card-viewport {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .card-scene {
    perspective: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .card-inner,
  .card-inner.is-flipped {
    transform: none !important;
    transform-style: flat !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .card-face,
  .card-front,
  .card-back {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    width: 140mm !important;
    height: 248mm !important;
    margin: 0 auto !important;
    border-radius: 36px !important;
    padding: 24px 26px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid var(--divider) !important;
    overflow: hidden !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .card-front {
    page-break-after: always !important;
    break-after: page !important;
  }

  .card-back {
    page-break-before: always !important;
    break-before: page !important;
    page-break-after: auto !important;
    break-after: auto !important;
  }

  /* Swap animated hero icon to crisp static SVG so it's never caught mid-animation */
  .screen-only-icon {
    display: none !important;
  }

  .print-for-dark { display: none !important; }
  .print-for-light { display: block !important; }
  html.dark .print-for-dark { display: block !important; }
  html.dark .print-for-light { display: none !important; }

  .dot {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .clock-face-time {
    opacity: 0 !important;
    animation: none !important;
  }

  .clock-face-loc {
    opacity: 1 !important;
    animation: none !important;
  }

  /* Print-calibrated proportions for full-size 140mm × 248mm (9:16) pages */
  .brand-logo-img {
    width: 140px !important;
    height: auto !important;
  }

  .uae-clock-pill {
    height: 38px !important;
    min-width: 92px !important;
  }

  .clock-face-loc {
    font-size: 14.5px !important;
  }

  .neu-circle-sm {
    width: 42px !important;
    height: 42px !important;
  }

  .hero-card {
    padding: 20px 22px !important;
    gap: 18px !important;
  }

  .monogram-badge {
    width: 88px !important;
    height: 88px !important;
    padding: 8px !important;
  }

  .owner-name {
    font-size: 22px !important;
  }

  .owner-title {
    font-size: 17px !important;
  }

  .action-tiles-grid {
    gap: 16px !important;
  }

  .action-tile {
    padding: 18px 18px !important;
    gap: 14px !important;
  }

  .action-tile-icon {
    width: 48px !important;
    height: 48px !important;
  }

  .action-tile-label {
    font-size: 17px !important;
  }

  .details-strip {
    padding: 12px 20px !important;
  }

  .detail-line {
    padding: 8px 0 !important;
  }

  .detail-key {
    font-size: 13px !important;
  }

  .detail-val {
    font-size: 16.5px !important;
  }

  .detail-val[data-field="address"] {
    font-size: 15.5px !important;
  }

  .neu-slider-cta {
    height: 58px !important;
  }

  .slider-knob {
    width: 48px !important;
  }

  .slider-label {
    font-size: 15.5px !important;
  }

  .neu-btn {
    height: 48px !important;
    font-size: 15px !important;
  }

  .neu-btn-highlight {
    font-size: 13.5px !important;
  }

  .neu-dock {
    height: 62px !important;
  }

  .dock-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .dock-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  .back-heading {
    font-size: 18px !important;
  }

  .services-frame {
    margin: 12px 0 !important;
    padding: 12px !important;
  }

  .services-2x3-grid {
    gap: 12px !important;
  }

  .srv-tile {
    padding: 16px 10px 12px !important;
    gap: 10px !important;
  }

  .srv-tile::before {
    border-top-width: 7px !important;
  }

  .srv-tile-icon {
    width: 46px !important;
    height: 46px !important;
  }

  .srv-tile-title {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .about-box {
    padding: 18px 20px !important;
    margin-bottom: 14px !important;
  }

  .about-box-title {
    font-size: 16.5px !important;
    margin-bottom: 8px !important;
  }

  .about-box-text {
    font-size: 15.5px !important;
    line-height: 1.54 !important;
  }
}
