/* ==========================================================================
   ADARA HOMECARE & WELLNESS - PREMIUM MOBILE-FIRST STYLESHEET
   Luxury Medical & Aesthetics On-Demand Service
   Admin WA: 081277996095
   ========================================================================== */

:root {
  --primary-dark: #07282F;
  --primary-teal: #0D5C75;
  --primary-light: #167A99;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F6E29F;
  --accent-emerald: #10B981;
  --accent-cyan: #06B6D4;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F0FDF9;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --border-gold: rgba(212, 175, 55, 0.4);
  
  --shadow-sm: 0 2px 8px rgba(7, 40, 47, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 40, 47, 0.08);
  --shadow-lg: 0 16px 36px rgba(7, 40, 47, 0.12);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --nav-height: 68px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  background-color: #051A1F;
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #081F26;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

/* Device Wrapper (Centers mobile on desktop, native on mobile) */
.device-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--bg-main);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 20px);
  overflow-x: hidden;
  transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop Full Width Toggle Mode */
body.full-width-mode .device-container {
  max-width: 1100px;
}

body.full-width-mode .services-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

body.full-width-mode .quick-stats-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

body.full-width-mode .hero-banner {
  height: 480px !important;
}

/* Desktop Mode Switcher Bar */
.desktop-switch-bar {
  display: none;
  background: rgba(7, 40, 47, 0.95);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .desktop-switch-bar {
    display: flex;
  }
}

.switch-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.switch-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

/* ==========================================================================
   HEADER & TOP STATUS
   ========================================================================== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(7, 40, 47, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

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

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #FFFFFF 40%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 10px;
  color: #A5F3FC;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

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

.btn-header-install {
  background: linear-gradient(135deg, #D4AF37, #B89628);
  color: #07282F;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  animation: pulse-gold 2.5s infinite;
}

.btn-header-call {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
}

@keyframes pulse-gold {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Status Ticker */
.status-ticker {
  background: linear-gradient(90deg, #07282F, #0E4A56);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #E2E8F0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #34D399;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #34D399;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.admin-number-pill {
  color: var(--accent-gold-light);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   PWA 1-CLICK INSTALL FLOATING CARD
   ========================================================================== */
.pwa-install-banner {
  background: linear-gradient(135deg, #09333C 0%, #062127 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin: 12px 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pwa-install-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pwa-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--accent-gold);
  flex-shrink: 0;
}

.pwa-banner-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.pwa-banner-text p {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.3;
}

.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pwa-install {
  background: linear-gradient(135deg, #D4AF37, #C49826);
  color: #07282F;
  border: none;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  transition: transform 0.15s ease;
}

.btn-pwa-install:active {
  transform: scale(0.96);
}

.btn-pwa-dismiss {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   HERO SECTION (BEAUTIFUL DOCTOR BACKGROUND)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #07282F;
  overflow: hidden;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.92) contrast(1.05);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(7, 40, 47, 0.2) 0%, 
    rgba(7, 40, 47, 0.45) 45%,
    rgba(7, 40, 47, 0.95) 85%,
    #07282F 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px 24px;
  color: #FFFFFF;
}

.hero-badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.hero-pill {
  background: rgba(7, 40, 47, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--accent-gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-pill-teal {
  border-color: rgba(45, 212, 191, 0.5);
  color: #A5F3FC;
}

.hero-headline {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 8px;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-headline span {
  background: linear-gradient(135deg, #FDE68A 20%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #D4AF37 0%, #C09624 100%);
  color: #07282F;
  border: none;
  font-size: 13px;
  font-weight: 800;
  padding: 13px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary-glow:active {
  transform: scale(0.97);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 13px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary-glass:active {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   TRUST STATS STRIP
   ========================================================================== */
.trust-strip {
  background: #09333C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.trust-icon {
  font-size: 18px;
}

.trust-val {
  font-size: 13px;
  font-weight: 800;
  color: #F8FAFC;
}

.trust-label {
  font-size: 10px;
  color: #94A3B8;
  line-height: 1.1;
}

/* ==========================================================================
   QUICK ACTION BUTTONS BAR
   ========================================================================== */
.quick-action-section {
  padding: 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 6px 10px;
  transition: all 0.2s;
}

.quick-action-btn:active {
  transform: translateY(2px);
  background: #F0FDF4;
}

.quick-action-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 6px;
}

.icon-whitening { background: linear-gradient(135deg, #FFF1F2, #FFE4E6); color: #E11D48; }
.icon-infusion { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); color: #16A34A; }
.icon-homevisit { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: #2563EB; }
.icon-telemed { background: linear-gradient(135deg, #FAF5FF, #F3E8FF); color: #9333EA; }

.quick-action-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-wrapper {
  padding: 24px 16px;
}

.section-header {
  margin-bottom: 16px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ==========================================================================
   SERVICES SECTION (FILTER & CARDS)
   ========================================================================== */
.service-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.service-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.tab-pill {
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-pill.active {
  background: var(--primary-dark);
  color: #FFFFFF;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(7, 40, 47, 0.2);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card.highlight {
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.service-card-banner {
  height: 150px;
  position: relative;
  overflow: hidden;
  background: #0E4A56;
}

.service-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.badge-service-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 40, 47, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-service-popular {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #D4AF37, #C49826);
  color: #07282F;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-card-body {
  padding: 16px;
}

.service-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
  gap: 8px;
}

.service-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
}

.service-price-tag {
  text-align: right;
  flex-shrink: 0;
}

.service-price-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-teal);
}

.service-price-note {
  font-size: 10px;
  color: var(--text-light);
}

.service-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.service-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.spec-item {
  background: #F1F5F9;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-book-wa {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all 0.2s;
}

.btn-book-wa:hover {
  background: #20BD5A;
}

.btn-details {
  background: #F8FAFC;
  color: var(--primary-dark);
  border: 1px solid #CBD5E1;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-details:hover {
  background: #E2E8F0;
}

/* ==========================================================================
   ONLINE CONSULTATION SHOWCASE CARD
   ========================================================================== */
.telemed-banner-card {
  background: linear-gradient(135deg, #07282F 0%, #0E4A56 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-lg);
}

.telemed-banner-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.telemed-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--accent-gold-light);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 10px;
}

.telemed-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}

.telemed-desc {
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 14px;
}

.telemed-preview-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.telemed-preview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.telemed-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.telemed-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #E2E8F0;
}

.telemed-feature-item span {
  color: #34D399;
}

/* ==========================================================================
   DYNAMIC CALCULATOR & PACKAGE BUILDER
   ========================================================================== */
.calc-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
}

.calc-group {
  margin-bottom: 14px;
}

.calc-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--text-main);
  background-color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s;
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary-teal);
}

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

.chip-btn {
  padding: 10px 4px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.chip-btn.active {
  border-color: var(--accent-gold);
  background: #FFFDF5;
  color: #92400E;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.calc-result-box {
  background: linear-gradient(135deg, #07282F, #0E4A56);
  color: #FFFFFF;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
  color: #CBD5E1;
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 8px;
  margin-top: 8px;
}

.calc-total-label {
  font-size: 13px;
  font-weight: 700;
}

.calc-total-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-gold-light);
}

.calc-discount-badge {
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* ==========================================================================
   SAFETY & SOP SECTION (STANDAR MEDIS)
   ========================================================================== */
.safety-section {
  background: #F0FDF4;
  border-top: 1px solid #DCFCE7;
  border-bottom: 1px solid #DCFCE7;
}

.safety-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.safety-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 12px;
  border: 1px solid #DCFCE7;
  box-shadow: var(--shadow-sm);
}

.safety-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.safety-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.safety-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testi-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.testi-scroll::-webkit-scrollbar {
  display: none;
}

.testi-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 16px;
  min-width: 270px;
  max-width: 270px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0E4A56;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.testi-author-info h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-dark);
}

.testi-author-info p {
  font-size: 10px;
  color: var(--text-muted);
}

.testi-stars {
  color: #F59E0B;
  font-size: 12px;
  margin-bottom: 8px;
}

.testi-text {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.45;
  font-style: italic;
}

.testi-tag {
  display: inline-block;
  margin-top: 8px;
  background: #ECFDF5;
  color: #065F46;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-arrow {
  transition: transform 0.2s ease;
  font-size: 12px;
  color: var(--text-light);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-teal);
}

.faq-answer {
  display: none;
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px dashed #F1F5F9;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.app-footer {
  background: #051A1F;
  color: #94A3B8;
  padding: 24px 18px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-desc {
  font-size: 11px;
  line-height: 1.45;
  color: #64748B;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.footer-contact-link {
  color: var(--accent-gold-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  font-size: 10px;
  color: #475569;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* ==========================================================================
   BOTTOM APP NAVIGATION BAR
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(var(--nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(7, 40, 47, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

body.full-width-mode .bottom-nav {
  max-width: 1100px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #94A3B8;
  font-size: 10px;
  font-weight: 600;
  width: 20%;
  height: 100%;
  transition: color 0.15s;
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav-item.active {
  color: var(--accent-gold-light);
}

.nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

/* Highlight Center Booking Button */
.nav-item.highlight-nav {
  position: relative;
}

.nav-center-bubble {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #D4AF37, #C09624);
  color: #07282F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  margin-top: -18px;
  border: 3px solid #07282F;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 16px);
  right: calc(50% - 220px);
  z-index: 95;
  background: #25D366;
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  animation: pulse-wa 2.2s infinite;
  transition: transform 0.2s;
}

@media (max-width: 480px) {
  .floating-wa-btn {
    right: 16px;
  }
}

@keyframes pulse-wa {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   MODALS & BOTTOM SHEETS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

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

.bottom-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  border-radius: 24px 24px 0 0;
  padding: 20px;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-handle {
  width: 40px;
  height: 5px;
  background: #CBD5E1;
  border-radius: 10px;
  margin: 0 auto 16px;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sheet-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}

.sheet-close-btn {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #07282F;
  border: 1px solid var(--accent-gold);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* iOS PWA Instructions Modal */
.ios-instruction-box {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid #E2E8F0;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-main);
}

.ios-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.ios-step-num {
  background: var(--primary-dark);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}


/* ==========================================================================
   INTERACTIVE DOCTOR CHATBOT STYLES
   ========================================================================== */
.chatbot-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  border-radius: 24px 24px 0 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 12px;
}

.chatbot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  object-fit: cover;
}

.chatbot-header-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-dark);
}

.chatbot-header-info p {
  font-size: 11px;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.chatbot-messages-box {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 2px 14px;
  max-height: 340px;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.45;
  animation: fadeIn 0.2s ease;
}

.chat-bubble.bot {
  background: #F1F5F9;
  color: #0F172A;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid #E2E8F0;
}

.chat-bubble.user {
  background: linear-gradient(135deg, #07282F, #0E4A56);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(7, 40, 47, 0.15);
}

.chatbot-options-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #E2E8F0;
}

.chat-opt-btn {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.chat-opt-btn:hover, .chat-opt-btn:active {
  background: #EFF6FF;
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   FLOATING MELAYANG CHATBOT WIDGET (NATURAL DOKTER POPUP)
   ========================================================================== */
.floating-doctor-btn {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 14px);
  right: calc(50% - 225px);
  z-index: 150;
  background: linear-gradient(135deg, #07282F, #0E5E6F);
  border: 1.5px solid var(--accent-gold);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  color: #FFFFFF;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulse-doctor 3s infinite;
}

@media (max-width: 480px) {
  .floating-doctor-btn {
    right: 14px;
  }
}

.floating-doctor-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

.floating-doc-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
}

.floating-doc-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
}

.floating-doc-avatar-wrap .online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #34D399;
  border: 1.5px solid #07282F;
  border-radius: 50%;
}

.floating-doc-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floating-doc-title {
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.floating-doc-sub {
  font-size: 9.5px;
  color: var(--accent-gold-light);
  font-weight: 600;
}

@keyframes pulse-doctor {
  0%, 100% { box-shadow: 0 8px 25px rgba(7, 40, 47, 0.5); }
  50% { box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); }
}

/* Floating Window Container */
.floating-chat-popup {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 10px);
  right: calc(50% - 230px);
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 520px;
  max-height: 75vh;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 480px) {
  .floating-chat-popup {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(var(--nav-height) + var(--safe-bottom) + 8px);
    height: 72vh;
  }
}

.floating-chat-popup.active {
  display: flex;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.floating-chat-header {
  background: linear-gradient(135deg, #07282F, #0D5C75);
  color: #FFFFFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--accent-gold);
}

.floating-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFC;
}

.floating-chat-footer {
  padding: 10px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-chat-input {
  flex: 1;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-family: inherit;
  color: #0F172A;
  outline: none;
}

.floating-chat-input:focus {
  background: #FFFFFF;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 2px rgba(13, 92, 117, 0.15);
}

.floating-chat-send-btn {
  background: linear-gradient(135deg, #D4AF37, #C09624);
  color: #07282F;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.floating-chat-send-btn:active {
  transform: scale(0.92);
}
