/* ==========================================================================
   PET GROOMING SHOP - Design System & Styles (GoNano Demo - Spanish)
   ========================================================================== */

:root {
  /* Brand Palette derived directly from logo */
  --brand-blue: #216B9C;
  --brand-blue-hover: #185A86;
  --brand-blue-dark: #124364;
  --brand-blue-subtle: #E8F4F9;
  --brand-blue-glow: rgba(33, 107, 156, 0.2);

  --brand-peach: #F7C880;
  --brand-peach-hover: #F0B863;
  --brand-peach-light: #FFF6EA;
  --brand-peach-border: #F8D9A8;

  --brand-aqua: #BFE7EE;
  --brand-aqua-light: #EBF8FA;
  --brand-aqua-dark: #81CAD6;

  --brand-cream: #FFFBF4;
  --brand-coral: #FF6678;
  --brand-coral-hover: #E84D60;
  --brand-coral-light: #FFF0F2;

  --brand-ink: #14212B;
  --brand-ink-secondary: #4A5D6B;
  --brand-ink-muted: #7E909D;

  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-subtle: #E2ECF2;
  --border-active: #216B9C;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii & Shadows */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(20, 33, 43, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 33, 43, 0.08);
  --shadow-lg: 0 16px 36px rgba(20, 33, 43, 0.12);
  --shadow-hover: 0 12px 28px rgba(33, 107, 156, 0.16);

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--brand-cream);
  color: var(--brand-ink);
  line-height: 1.55;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere - Soft Bubbles & Pastel Gradient */
.bg-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: 
    radial-gradient(circle at 10% 15%, rgba(191, 231, 238, 0.45) 0%, transparent 25%),
    radial-gradient(circle at 90% 30%, rgba(247, 200, 128, 0.35) 0%, transparent 30%),
    radial-gradient(circle at 50% 85%, rgba(191, 231, 238, 0.4) 0%, transparent 35%);
}

.bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(191, 231, 238, 0.8);
  border-radius: 50%;
  box-shadow: inset -2px -2px 6px rgba(191, 231, 238, 0.4);
}
.b1 { width: 34px; height: 34px; top: 12%; left: 6%; opacity: 0.7; }
.b2 { width: 20px; height: 20px; top: 22%; left: 92%; opacity: 0.6; }
.b3 { width: 48px; height: 48px; top: 55%; right: 4%; opacity: 0.5; }
.b4 { width: 26px; height: 26px; top: 78%; left: 8%; opacity: 0.6; }

/* ==========================================================================
   TOP BUSINESS BAR & NAVIGATION
   ========================================================================== */

.top-business-header {
  position: relative;
  z-index: 20;
  background: #FFFFFF;
  border-bottom: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.top-info-banner {
  background: var(--brand-blue-dark);
  color: #FFFFFF;
  font-size: 0.8125rem;
  padding: 6px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.info-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.info-banner-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-peach);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(33, 107, 156, 0.15);
  transition: transform var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.05) rotate(-3deg);
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-blue);
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink-secondary);
}

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

.btn-my-booking-badge {
  background: var(--brand-aqua-light);
  color: var(--brand-blue-dark);
  border: 1.5px solid var(--brand-aqua-dark);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-my-booking-badge.show {
  display: inline-flex;
}

.btn-my-booking-badge:hover {
  background: var(--brand-aqua);
}

.lang-toggle {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--brand-ink-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.lang-toggle:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
}

.btn-nav-book {
  background: var(--brand-coral);
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(255, 102, 120, 0.35);
  transition: var(--transition);
  text-decoration: none;
}

.btn-nav-book:hover {
  background: var(--brand-coral-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO / OPENING
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 36px 20px 24px 20px;
  max-width: 780px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-peach-light);
  border: 1.5px solid var(--brand-peach-border);
  color: #9A6210;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brand-ink);
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--brand-blue);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--brand-ink-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-support {
  font-size: 0.9375rem;
  color: var(--brand-ink-muted);
  max-width: 540px;
  margin: 0 auto 20px auto;
}

/* ==========================================================================
   MAIN BOOKING LAYOUT & WRAPPER
   ========================================================================== */

.booking-app-layout {
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 80px 16px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.booking-app-layout.full-width {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* Steps Flow Container */
.flow-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Step Progress Indicator */
.step-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-ink-muted);
  cursor: pointer;
  transition: var(--transition);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-cream);
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-ink-secondary);
}

.step-indicator.active {
  color: var(--brand-blue);
}

.step-indicator.active .step-num {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 8px var(--brand-blue-glow);
}

.step-indicator.completed .step-num {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}

/* Step Content Sections */
.booking-step {
  display: none;
  flex-direction: column;
  gap: 22px;
}

.booking-step.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
}

.step-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}

.step-description {
  font-size: 0.9375rem;
  color: var(--brand-ink-secondary);
}

/* ==========================================================================
   STEP 1: SERVICE CARDS GRID
   ========================================================================== */

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

.service-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  position: relative;
}

.service-card:hover {
  border-color: var(--brand-aqua-dark);
  background: var(--brand-aqua-light);
  transform: translateY(-1px);
}

.service-card.selected {
  border-color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  box-shadow: 0 4px 16px var(--brand-blue-glow);
}

.service-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card.selected .service-radio {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
}

.service-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.service-card.selected .service-radio::after {
  opacity: 1;
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.service-desc {
  font-size: 0.8125rem;
  color: var(--brand-ink-secondary);
}

.service-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.service-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-ink-muted);
}

/* ==========================================================================
   STEP 2: TELL US ABOUT YOUR DOG
   ========================================================================== */

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-ink);
  display: flex;
  justify-content: space-between;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 48px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--brand-ink);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
}

.form-textarea {
  height: 80px;
  padding: 10px 14px;
  resize: vertical;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.pill-option {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-ink-secondary);
  transition: var(--transition);
}

.pill-option:hover {
  border-color: var(--brand-blue);
  background: var(--brand-blue-subtle);
}

.pill-option.selected {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 8px var(--brand-blue-glow);
}

.form-helper {
  font-size: 0.75rem;
  color: var(--brand-ink-muted);
}

/* ==========================================================================
   STEP 3: OPTIONAL EXTRAS
   ========================================================================== */

.extras-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.extra-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.extra-card:hover {
  border-color: var(--brand-peach-hover);
  background: var(--brand-peach-light);
}

.extra-card.selected {
  border-color: #9A6210;
  background: var(--brand-peach-light);
}

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

.extra-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.extra-card.selected .extra-checkbox {
  background: #9A6210;
  border-color: #9A6210;
  color: #FFFFFF;
}

.extra-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.extra-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--brand-blue);
}

/* ==========================================================================
   STEP 4: DATE & TIME APPOINTMENT PICKER
   ========================================================================== */

.date-chips-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
}

.date-chip {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.date-chip:hover {
  border-color: var(--brand-blue);
  background: var(--brand-blue-subtle);
}

.date-chip.selected {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--brand-blue-glow);
}

.date-chip-day {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.date-chip-num {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2px 0;
}

.date-chip-month {
  font-size: 0.6875rem;
  font-weight: 600;
}

.date-chip.selected .date-chip-day,
.date-chip.selected .date-chip-month {
  color: rgba(255, 255, 255, 0.85);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.time-slot-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-ink);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.time-slot-btn:hover:not(.disabled) {
  border-color: var(--brand-blue);
  background: var(--brand-blue-subtle);
}

.time-slot-btn.selected {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 10px var(--brand-blue-glow);
}

.time-slot-btn.disabled {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ==========================================================================
   FLOW BUTTONS (BACK / NEXT)
   ========================================================================== */

.flow-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1.5px solid var(--border-subtle);
}

.btn-flow-back {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--brand-ink-secondary);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-flow-back:hover {
  background: #F8FAFC;
  color: var(--brand-ink);
}

.btn-flow-next {
  background: var(--brand-coral);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  padding: 13px 26px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255, 102, 120, 0.35);
  margin-left: auto;
}

.btn-flow-next:hover {
  background: var(--brand-coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 102, 120, 0.45);
}

/* ==========================================================================
   LIVE SUMMARY SIDEBAR
   ========================================================================== */

.summary-sidebar {
  position: sticky;
  top: 24px;
}

.summary-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.summary-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.875rem;
}

.summary-item-label {
  color: var(--brand-ink-secondary);
  font-weight: 600;
}

.summary-item-value {
  font-weight: 700;
  color: var(--brand-ink);
  text-align: right;
  max-width: 170px;
}

.summary-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
  border-top: 2px dashed var(--border-subtle);
}

.summary-total-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.summary-total-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-blue);
}

/* ==========================================================================
   CONFIRMATION SCREEN
   ========================================================================== */

.confirmation-card {
  background: #FFFFFF;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.conf-emblem-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--brand-aqua-light);
  border: 2px solid var(--brand-aqua-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(191, 231, 238, 0.4);
}

.conf-emblem-wrap img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.conf-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}

.conf-title span {
  color: var(--brand-coral);
}

.conf-subtitle {
  font-size: 1rem;
  color: var(--brand-ink-secondary);
  max-width: 480px;
}

.conf-ticket {
  background: var(--brand-cream);
  border: 1.5px solid var(--brand-peach-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.conf-code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--brand-peach-border);
}

.conf-code-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-ink-muted);
}

.conf-code-val {
  font-family: monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.conf-ticket-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9375rem;
}

.conf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.btn-conf-action {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-conf-primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  border: none;
}
.btn-conf-primary:hover {
  background: var(--brand-blue-hover);
}

.btn-conf-secondary {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--brand-ink-secondary);
}
.btn-conf-secondary:hover {
  background: #F8FAFC;
  color: var(--brand-ink);
}

.conf-demo-notice {
  font-size: 0.75rem;
  color: var(--brand-ink-muted);
  background: var(--brand-blue-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   MODAL: MY APPOINTMENT MANAGEMENT
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 43, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.btn-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-ink-muted);
  cursor: pointer;
}

/* ==========================================================================
   BOTTOM BUSINESS FOOTER & BUILDER ATTRIBUTION
   ========================================================================== */

.business-footer {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  border-top: 1.5px solid var(--border-subtle);
  padding: 48px 20px 24px 20px;
  color: var(--brand-ink);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.footer-brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--brand-ink-secondary);
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-ink-muted);
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
}

.footer-link {
  color: var(--brand-ink-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--brand-blue);
}

.footer-bottom-row {
  max-width: 1100px;
  margin: 36px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--brand-ink-muted);
}

.builder-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-cream);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-ink-secondary);
}

.builder-credit a {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
}

.builder-credit a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN & IFRAME COMPLIANCE
   ========================================================================== */

@media (max-width: 860px) {
  .booking-app-layout {
    grid-template-columns: 1fr;
  }

  .summary-sidebar {
    position: static;
    order: 2;
  }

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

@media (max-width: 600px) {
  .nav-container {
    padding: 12px 14px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

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

  .flow-card {
    padding: 20px 16px;
  }

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

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

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-info-banner {
    font-size: 0.75rem;
    gap: 8px;
  }
}
