/* assets/css/styles-glassmorphism.css */
:root {
  --bg-gradient: linear-gradient(145deg, #0c1e25 0%, #0d2a31 30%, #0a1a1f 100%);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --primary: #00d4ff;
  --primary-glow: rgba(0, 212, 255, 0.3);
  --primary-dark: #00a8cc;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --danger: #ff5a7d;
  --success: #00e096;
  --whatsapp: #25D366;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  min-height: 100vh;
  padding: 16px;
  position: relative;
  overflow-x: hidden;
}

/* Fondo decorativo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 168, 204, 0.08) 0%, transparent 50%);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header moderno */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.logo-container {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--primary-glow);
  flex-shrink: 0;
}

.logo-container img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  padding: 6px;
}

.brand-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-badge {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.12);
  color: var(--primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge i {
  font-size: 8px;
  color: var(--success);
}

/* Buttons */
.btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  user-select: none;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.btn-phone {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #ff3d3d);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), #128C7E);
  color: white;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Main Layout */
.main-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .main-container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Panel principal */
.main-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

/* Tabs navigation */
.tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.tab {
  flex: 1;
  padding: 14px 12px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tab i {
  font-size: 18px;
}

.tab.active {
  color: var(--text);
  background: rgba(0, 212, 255, 0.15);
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.tab-content {
  padding: 32px;
  position: relative;
  overflow: visible;
  min-height: 500px;
}

@media (max-width: 768px) {
  .tab-content {
    padding: 20px;
    min-height: 400px;
  }
  
  .tab {
    font-size: 12px;
    padding: 10px 8px;
  }
  
  .tab i {
    font-size: 16px;
  }
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 32px 32px;
  position: relative;
}

.progress-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%);
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.2);
}

.progress-step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: var(--primary);
}

@media (max-width: 768px) {
  .progress-indicator {
    margin: 20px 20px 24px;
  }
  
  .step-label {
    font-size: 11px;
  }
}

/* Tab content - FIX para posicionamiento */
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
  width: 100%;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-title {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.tab-subtitle {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.tab-subtitle b {
  color: var(--primary);
  font-weight: 600;
}

/* Services Grid - CON SCROLL INTERNO */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 20px;
}

.services-grid::-webkit-scrollbar {
  width: 6px;
}

.services-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.services-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 3px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.5);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Card - POSICIONAMIENTO CORREGIDO */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-sm);
}

.service-card.selected {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
  margin-bottom: 60px !important; /* Espacio para el botón fuera */
  z-index: 2;
}

.service-card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 60px; /* Espacio para badge */
}

.service-card.selected .service-card-header {
  padding-top: 30px; /* Espacio adicional para badge */
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  flex: 1;
  min-width: 0;
}

.service-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.service-price {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.service-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  line-height: 1.4;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: 600;
}

.service-tag.control {
  background: rgba(0, 212, 255, 0.15);
  color: var(--primary);
}

.service-tag.urgency {
  background: rgba(255, 90, 125, 0.15);
  color: var(--danger);
}

/* Badge "Seleccionado" - POSICIONADO DENTRO, ARRIBA IZQUIERDA */
.service-selected-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  box-shadow: 0 4px 12px var(--primary-glow);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  max-width: calc(100% - 24px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.service-card.selected .service-selected-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Botón "Continuar" - POSICIONADO FUERA, ABAJO DERECHA */
.service-cta {
  position: absolute;
  bottom: -40px;
  right: 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.service-cta:hover {
  transform: translateY(-1px) translateY(-40px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.5);
}

.service-card.selected .service-cta {
  opacity: 1;
  transform: translateY(0) translateY(-40px);
}

/* Urgency Card */
.urgency-card {
  margin-top: 24px;
  background: rgba(255, 90, 125, 0.1);
  border: 1px solid rgba(255, 90, 125, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  animation: fadeIn 0.4s ease;
}

.urgency-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.urgency-header i {
  font-size: 24px;
  color: var(--danger);
}

.urgency-header h3 {
  margin: 0;
  font-size: 18px;
  color: #ffd3d3;
}

.urgency-card p {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #ffecec;
  line-height: 1.5;
}

.urgency-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.urgency-phone {
  font-size: 14px;
  color: #ffd3d3;
  font-weight: 600;
}

/* Form Fields */
.form-step {
  animation: fadeIn 0.4s ease;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .fields-grid {
    grid-template-columns: 1fr;
  }
}

.input-group {
  margin-bottom: 16px;
}

.input-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.input-field {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

select.input-field {
  appearance: none;
  background-image: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.helper-text {
  margin: 6px 0 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Consent Card */
.consent-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.consent-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.checkbox-wrapper {
  position: relative;
  margin-top: 2px;
}

.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-wrapper label {
  display: block;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--glass-border);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + label {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-wrapper input[type="checkbox"]:checked + label::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.consent-header h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: var(--text);
}

.consent-header p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-note {
  margin: 12px 0 0 0;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* Day Selector */
.day-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.day-option {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.day-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.day-option label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.day-option strong {
  font-size: 15px;
  color: var(--text);
}

.day-option span {
  font-size: 12px;
  color: var(--text-muted);
}

.day-option.selected {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary);
}

.day-option.selected strong {
  color: var(--primary);
}

/* Summary Card */
.summary-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  animation: fadeIn 0.4s ease;
}

.summary-card h4 {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-item span {
  font-size: 14px;
  color: var(--text-muted);
}

.summary-item strong {
  font-size: 14px;
  color: var(--text);
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

/* Navigation */
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

/* Botón Continuar en paso 2 - creado dinámicamente */
#btnContinueTo3 {
  margin-left: auto;
}

@media (max-width: 768px) {
  #btnContinueTo3 {
    margin-left: 0;
    width: 100%;
  }
}

.note {
  margin: 16px 0 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 18px;
}

.info-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--primary);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list i {
  color: var(--primary);
  font-size: 14px;
  width: 20px;
}

.info-list span {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.info-text {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.info-text strong {
  color: var(--primary);
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.note-small {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.security-card {
  background: rgba(0, 212, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.2);
}

/* Footer */
.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

.footer p {
  margin: 8px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links span {
  color: var(--text-muted);
  font-size: 12px;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 90%;
  text-align: center;
  pointer-events: none;
  display: none;
}

.toast-success {
  border-left: 4px solid var(--success);
}

.toast-warning {
  border-left: 4px solid #ffaa00;
}

/* Efecto ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn, .service-card, .day-option {
  position: relative;
  overflow: hidden;
}

/* Animación de pulso para botones activos */
.btn.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.btn-whatsapp.pulse {
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .brand {
    flex-direction: column;
    text-align: center;
  }
  
  .brand-text h1 {
    font-size: 16px;
  }
  
  .header-actions {
    justify-content: center;
  }
  
  .status-badge, .btn-phone {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .main-container {
    gap: 16px;
  }
  
  .tab-title {
    font-size: 20px;
  }
  
  .tab-subtitle {
    font-size: 13px;
  }
  
  .day-selector {
    grid-template-columns: 1fr;
  }
  
  .navigation {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Ajustes para service cards en móvil */
  .service-card-header {
    padding-right: 0;
  }
  
  .service-card.selected .service-card-header {
    padding-top: 40px; /* Más espacio para badge en móvil */
  }
  
  .service-selected-badge {
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 5px 10px;
  }
  
  .service-cta {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
    bottom: -35px;
  }
}
/* assets/css/additional-styles.css */
/* Para agregar si necesitas ajustes adicionales */

/* Mejorar la transición entre tabs */
.tab-pane {
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mejorar visibilidad de campos requeridos */
.input-field:required:not(:placeholder-shown):invalid {
  border-color: var(--danger);
  background: rgba(255, 90, 125, 0.05);
}

.input-field:required:valid {
  border-color: var(--success);
  background: rgba(0, 224, 150, 0.05);
}

/* Estilos para errores de validación */
.error-message {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.input-field:invalid ~ .error-message {
  display: block;
}

/* Mejorar el scroll en móvil */
@media (max-width: 768px) {
  .services-grid {
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-content {
    padding-bottom: 40px;
  }
}

/* Asegurar que el botón continuar siempre sea visible */
.service-cta {
  white-space: nowrap;
}

/* Mejorar el resumen en móvil */
@media (max-width: 768px) {
  .summary-item {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  
  .summary-item strong {
    max-width: 100%;
    text-align: left;
  }
}

/* Asegurar que el contenido no se salga
