:root {
  --color-primary: #002d62;
  --color-primary-hover: #004080;
  --color-secondary: #0088ce;
  --color-background: #f0f4f8;
  --color-surface: #ffffff;
  --color-text-main: #1a202c;
  --color-text-muted: #4a5568;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --color-danger: #e53e3e;
  --color-success: #38a169;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --transition: all 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background: linear-gradient(-45deg, #f4f7f9, #dce4ed, #e6eff7, #dce4ed);
  background-size: 400% 400%;
  animation: bgGradient 15s ease infinite;
  color: var(--color-text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

@keyframes bgGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.wrap {
  width: 100%;
  max-width: 600px;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 45, 98, 0.08);
  padding: 2.5rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 45, 98, 0.12);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
  background-size: 200% 100%;
  animation: gradientPan 4s linear infinite;
}

@keyframes gradientPan {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.main-logo {
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-main);
  letter-spacing: 0.5px;
  border-left: 2px solid var(--color-border);
  padding-left: 15px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(0, 45, 98, 0.08);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 45, 98, 0.15);
}

h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.field {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

input[type=email],
input[type=text],
input[type=tel],
select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-text-main);
  background: #fafcff;
  outline: none;
  transition: var(--transition);
}

input:focus,
select:focus {
  background: var(--color-surface);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 45, 98, 0.1);
}

.btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background-size: 200% auto;
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 136, 206, 0.25);
}

.btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 136, 206, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  background: var(--color-border-hover);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(0, 45, 98, 0.05);
  box-shadow: none;
}

.error {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-danger);
  margin-top: 6px;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-err {
  border-color: var(--color-danger) !important;
  background: #fff5f5 !important;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  background: rgba(56, 161, 105, 0.08);
  border: 1px solid rgba(56, 161, 105, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  animation: fadeIn 0.3s ease;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(56, 161, 105, 0.3);
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: white;
  fill: none;
  stroke-width: 3;
}

.check-label {
  font-size: 14px;
  color: var(--color-text-main);
}

.check-label b {
  font-weight: 600;
}

.calendar {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
  background: var(--color-surface);
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fafcff;
  border-bottom: 1.5px solid var(--color-border);
}

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

.cal-nav:hover {
  background: var(--color-border);
  color: var(--color-text-main);
}

.cal-month {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-main);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-dow {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 8px 0;
  font-weight: 600;
  border-bottom: 1.5px solid var(--color-border);
  background: #fafcff;
}

.cal-day {
  text-align: center;
  font-size: 14px;
  padding: 10px 0;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text-main);
  font-weight: 500;
  position: relative;
}

.cal-day:hover:not(.disabled):not(.selected) {
  background: rgba(0, 136, 206, 0.1);
  color: var(--color-primary);
  transform: scale(1.1);
  border-radius: var(--radius-sm);
}

.cal-day.disabled {
  color: #a0aec0;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day.other-month {
  color: #cbd5e1;
}

.cal-day.selected {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.cal-day.today:not(.selected) {
  color: var(--color-secondary);
  font-weight: 700;
}

.cal-day.today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-secondary);
  border-radius: 50%;
}

.cal-day.selected::after {
  display: none;
}

.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.time-card {
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  background: #f0f6ff;
}

.time-card:hover:not(.disabled-slot) {
  border-color: var(--color-secondary);
  background: rgba(0, 136, 206, 0.08);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.time-card.selected-slot {
  border-color: var(--color-primary);
  background: rgba(0, 45, 98, 0.1);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.time-card.disabled-slot {
  border: 1.5px dashed #d1d5db;
  background: #f9fafb;
  opacity: 1;
  pointer-events: none;
  overflow: hidden;
}

.time-card.disabled-slot .time-label {
  color: #c0c8d4;
  font-weight: 400;
}

.time-card.disabled-slot .time-sub {
  color: #d4dae3;
}

.time-card .time-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

.time-card .time-sub {
  font-size: 12px;
  color: var(--color-secondary);
  margin-top: 3px;
}

/* TIMELINE STYLES */
.timeline-bar {
  display: flex;
  height: 26px;
  background: var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-slot {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  cursor: pointer;
  background: var(--color-success);
  transition: opacity 0.2s ease;
}

.timeline-slot:last-child {
  border-right: none;
}

.timeline-slot.busy {
  background: var(--color-danger);
}

.timeline-slot:hover {
  opacity: 0.8;
}

.timeline-slot::after {
  content: attr(data-time);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a202c;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  margin-bottom: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.timeline-slot:hover::after {
  opacity: 1;
}

.timeline-spinner {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 26px;
  animation: pulse 1.5s infinite;
}

.timeline-legend {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  font-size: 12px;
  margin-top: 8px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.lc-free {
  background: var(--color-success);
}

.lc-busy {
  background: var(--color-danger);
}

.duration-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.dur-btn {
  flex: 1;
  min-width: 60px;
  height: 42px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-main);
  cursor: pointer;
  transition: var(--transition);
}

.dur-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 45, 98, 0.03);
}

.dur-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 45, 98, 0.2);
}

.summary-box {
  background: #fafcff;
  border: 1.5px solid var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 1.5rem;
  animation: fadeIn 0.4s ease;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .sk {
  color: var(--color-text-muted);
}

.summary-row .sv {
  color: var(--color-primary);
  font-weight: 600;
}

.divider {
  height: 1px;
  background: var(--color-border);
  margin: 1.75rem 0;
}

.success-screen {
  display: none;
  animation: fadeIn 0.5s ease;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 20px rgba(56, 161, 105, 0.2);
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.success-icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: white;
  fill: none;
  stroke-width: 3;
}

.email-preview {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.ep-header {
  background: var(--color-primary);
  padding: 20px;
}

.ep-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ep-logo {
  padding: 4px;
  background: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ep-logo img {
  max-height: 30px;
  object-fit: contain;
}

.ep-from {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.ep-subject {
  font-size: 16px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.3px;
}

.ep-body {
  padding: 24px;
  background: var(--color-surface);
}

.ep-greeting {
  font-size: 15px;
  color: var(--color-text-main);
  margin-bottom: 16px;
  line-height: 1.6;
}

.ep-detail-box {
  background: #fafcff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.ep-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}

.ep-icon {
  width: 24px;
  height: 24px;
  background: rgba(0, 45, 98, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ep-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2.5;
}

.ep-detail-label {
  color: var(--color-text-muted);
  min-width: 80px;
  font-weight: 500;
}

.ep-detail-val {
  color: var(--color-text-main);
  font-weight: 600;
}

.ep-folio {
  display: inline-block;
  background: rgba(0, 136, 206, 0.15);
  color: var(--color-secondary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 136, 206, 0.2);
}

.ep-note {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.ep-footer {
  background: #f8fafc;
  padding: 12px 24px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

.sending-overlay {
  text-align: center;
  padding: 3rem 0;
  display: none;
  animation: fadeIn 0.4s;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.25rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem 0.5rem;
  }

  .card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  h2 {
    font-size: 20px;
  }

  .step-badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .time-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cal-day {
    padding: 8px 0;
    font-size: 13px;
  }

  .dur-btn {
    flex: 1 0 45%;
    height: 48px;
  }

  .ep-logo img {
    max-height: 26px;
  }

  .ep-detail-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .ep-detail-label {
    min-width: 100%;
    margin-bottom: 2px;
  }
}
/* FASE PRO - ajustes para producción */
.cal-day { border: 0; background: transparent; font-family: inherit; }
.backend-error, .error-inline {
  color: #e53e3e;
  background: #fff5f5;
  border: 1px solid #fc8181;
  border-radius: 10px;
  padding: 12px;
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
}
@media (max-width: 640px) {
  body { padding: 1rem .75rem; align-items: flex-start; }
  .card { padding: 1.35rem; border-radius: 14px; }
  .logo-bar { flex-direction: column; gap: 8px; }
  .logo-text { border-left: 0; padding-left: 0; }
  .main-logo { max-width: 210px; max-height: 58px; }
  .time-grid { grid-template-columns: 1fr; }
  h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover { transform: none; }
}

/* =========================================================
   FASE RESPONSIVE CORPORATIVA COLVATEL - salas.colvatel.com
   ========================================================= */
html { scroll-behavior: smooth; }
body {
  display: block;
  padding: 0;
  background: radial-gradient(circle at 12% 10%, rgba(0,136,206,.18), transparent 28%), linear-gradient(135deg, #f4f8fc 0%, #eef4f9 48%, #ffffff 100%);
}
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0,45,98,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,45,98,.045) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,45,98,.12); box-shadow: 0 8px 30px rgba(0,45,98,.08); }
.topbar-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; min-height: 74px; display: flex; align-items: center; gap: 16px; }
.topbar-logo { height: 44px; max-width: 220px; object-fit: contain; }
.topbar-title { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(0,45,98,.16); padding-left: 16px; }
.topbar-title strong { color: #002d62; font-size: 16px; letter-spacing: -.2px; }
.topbar-title span { color: #65758b; font-size: 12px; font-weight: 600; }
.topbar-status { margin-left: auto; color: #002d62; background: #eaf6fc; border: 1px solid rgba(0,136,206,.24); border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.app-shell { width: min(1180px, calc(100% - 32px)); min-height: calc(100vh - 74px); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 620px); gap: 36px; align-items: center; padding: 42px 0; }
.info-panel { display: grid; gap: 18px; }
.info-card, .mini-card { border: 1px solid rgba(0,45,98,.11); background: rgba(255,255,255,.86); box-shadow: 0 18px 45px rgba(0,45,98,.09); border-radius: 24px; }
.main-info { padding: 30px; position: relative; overflow: hidden; }
.main-info::after { content: ''; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: linear-gradient(135deg, rgba(0,45,98,.12), rgba(0,136,206,.18)); }
.eyebrow { color: #0088ce; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; }
.main-info h1 { color: #002d62; font-size: clamp(30px, 4vw, 48px); line-height: 1.03; margin: 12px 0 14px; letter-spacing: -1.4px; }
.main-info p { color: #54657a; font-size: 16px; line-height: 1.7; margin: 0; max-width: 34rem; }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mini-card { padding: 17px 18px; display: grid; gap: 5px; }
.mini-card b { color: #002d62; font-size: 14px; }
.mini-card span { color: #65758b; font-size: 13px; line-height: 1.45; }
.wrap { max-width: 620px; }
.card { border-radius: 26px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 24px 70px rgba(0,45,98,.14); border: 1px solid rgba(0,45,98,.12); }
.card:hover { transform: none; }
.logo-bar { justify-content: flex-start; }
.main-logo { max-height: 58px; }
.logo-text { color: #002d62; font-weight: 800; }
input[type=email], input[type=text], input[type=tel], select { min-height: 48px; border-radius: 14px; background: #fff; }
.btn { min-height: 54px; border-radius: 16px; font-weight: 800; }
.calendar, .summary-box, .email-preview { border-radius: 18px; }
.cal-grid { gap: 6px; }
.cal-day { min-height: 42px; border-radius: 12px; }
.time-grid { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.duration-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.timeline-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; gap: 22px; padding: 24px 0 34px; align-items: start; } .info-panel { order: -1; } .main-info { padding: 22px; } .info-grid { grid-template-columns: repeat(3, 1fr); } .wrap { max-width: 100%; } }
@media (max-width: 640px) { .topbar-inner { width: min(100% - 22px, 1180px); min-height: 64px; gap: 10px; } .topbar-logo { height: 34px; max-width: 150px; } .topbar-title { display: none; } .topbar-status { font-size: 11px; padding: 7px 10px; } .app-shell { width: min(100% - 22px, 1180px); padding: 16px 0 28px; } .info-grid { grid-template-columns: 1fr; } .main-info h1 { font-size: 29px; } .main-info p { font-size: 14px; } .logo-bar { flex-direction: column; text-align: center; gap: 10px; } .logo-text { border-left: 0; border-top: 1px solid var(--color-border); padding: 10px 0 0; } h2 { font-size: 20px; } .cal-day { min-height: 38px; font-size: 13px; } .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 390px) { .time-grid, .duration-row { grid-template-columns: 1fr; } .topbar-status { display: none; } }

/* =========================================================
   FASE UI PRO FULL SALAS - Identidad corporativa Colvatel
   ========================================================= */
:root{--colvatel-azul:#003b7a;--colvatel-azul-2:#005aaa;--colvatel-celeste:#00a3e0;--colvatel-noche:#061b3a;}
body{padding:0;align-items:stretch;justify-content:flex-start;background:radial-gradient(circle at 15% 10%, rgba(0,163,224,.14), transparent 28%),linear-gradient(135deg,#f5f8fc 0%,#edf4fb 42%,#ffffff 100%);}
.topbar{position:sticky;top:0;z-index:50;width:100%;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,59,122,.12);box-shadow:0 12px 30px rgba(6,27,58,.08);}
.topbar-inner{max-width:1320px;margin:0 auto;min-height:104px;padding:16px 28px;display:flex;align-items:center;gap:22px;}
.topbar-logo{height:82px;width:auto;max-width:390px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,45,98,.16));}
.topbar-title strong{color:var(--colvatel-noche);font-size:20px;letter-spacing:-.02em;}.topbar-title span{color:#4b6385;}
.topbar-status{margin-left:auto;background:linear-gradient(135deg,var(--colvatel-azul),var(--colvatel-azul-2));color:#fff;border-radius:999px;padding:12px 18px;font-weight:700;box-shadow:0 10px 24px rgba(0,59,122,.22);}
.app-shell{width:100%;max-width:1320px;margin:0 auto;padding:34px 28px 46px;display:grid;grid-template-columns:minmax(300px,420px) minmax(460px,680px);gap:34px;align-items:start;}
.info-panel{display:flex;flex-direction:column;gap:18px;}.info-card.main-info,.main-info{background:linear-gradient(155deg,var(--colvatel-noche),var(--colvatel-azul) 58%,var(--colvatel-azul-2));color:white;border-radius:24px;padding:32px;box-shadow:0 26px 54px rgba(0,59,122,.24);position:relative;overflow:hidden;}.info-card.main-info:after,.main-info:after{content:"";position:absolute;right:-80px;top:-80px;width:210px;height:210px;border-radius:50%;border:28px solid rgba(255,255,255,.08);}.eyebrow{display:inline-flex;margin-bottom:14px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);color:#d7ecff;font-size:12px;font-weight:800;letter-spacing:.13em;}.info-card h1,.main-info h1{font-size:34px;line-height:1.08;margin-bottom:14px;letter-spacing:-.04em;}.info-card p,.main-info p{color:#eaf5ff;line-height:1.65;}.info-grid{display:grid;grid-template-columns:1fr;gap:12px;}.mini-card,.support-card,.kpi-card{background:rgba(255,255,255,.92);border:1px solid rgba(0,59,122,.10);border-radius:18px;box-shadow:0 14px 32px rgba(6,27,58,.08);}.mini-card{padding:18px;}.mini-card b{color:var(--colvatel-noche);display:block;margin-bottom:5px;}.mini-card span{color:#5b6f8e;font-size:13px;line-height:1.45;}.corporate-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}.kpi-card{padding:16px 10px;text-align:center;}.kpi-card strong{display:block;color:var(--colvatel-azul);font-size:24px;line-height:1;}.kpi-card span{display:block;margin-top:6px;color:#5b6f8e;font-size:12px;font-weight:700;}.support-card{display:flex;align-items:center;gap:12px;padding:18px;}.support-icon{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--colvatel-azul),var(--colvatel-celeste));color:white;display:grid;place-items:center;font-weight:900;}.support-card b{display:block;color:var(--colvatel-noche);}.support-card span{display:block;color:#5b6f8e;font-size:13px;margin-top:3px;}
.wrap{max-width:680px;width:100%;}.card{border-radius:26px;padding:34px;box-shadow:0 30px 70px rgba(6,27,58,.14);border:1px solid rgba(0,59,122,.10);}.card:hover{transform:none;}.logo-bar{justify-content:flex-start;gap:18px;padding-bottom:24px;margin-bottom:26px;}.main-logo{max-height:96px;max-width:390px;width:auto;}.logo-text{color:var(--colvatel-azul);font-weight:800;text-transform:uppercase;font-size:13px;letter-spacing:.11em;}.step-badge{background:rgba(0,90,170,.10);color:var(--colvatel-azul);}h2{font-size:28px;color:var(--colvatel-noche);}.subtitle{font-size:15px;color:#536985;}input[type=email],input[type=text],input[type=tel],select{height:50px;border-radius:14px;background:#f8fbff;}.btn{height:56px;border-radius:16px;background:linear-gradient(135deg,var(--colvatel-azul),var(--colvatel-celeste));box-shadow:0 16px 34px rgba(0,90,170,.28);}.btn:hover{box-shadow:0 22px 42px rgba(0,90,170,.34);}.mobile-nav{display:none;}
@media (max-width:980px){.topbar-inner{min-height:88px;padding:12px 18px;}.topbar-logo{height:66px;max-width:300px;}.topbar-title{display:none;}.topbar-status{font-size:12px;padding:9px 12px;}.app-shell{grid-template-columns:1fr;padding:24px 16px 90px;gap:22px;}.info-card h1,.main-info h1{font-size:28px;}.corporate-kpis{grid-template-columns:repeat(3,1fr);}.card{padding:24px 18px;border-radius:22px;}.main-logo{max-height:76px;max-width:285px;}.logo-text{display:none;}h2{font-size:23px;}.mobile-nav{position:fixed;left:12px;right:12px;bottom:12px;z-index:70;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:rgba(255,255,255,.96);border:1px solid rgba(0,59,122,.14);box-shadow:0 16px 40px rgba(6,27,58,.18);border-radius:22px;padding:8px;backdrop-filter:blur(14px);}.mobile-nav a{text-decoration:none;color:#536985;text-align:center;font-size:12px;font-weight:800;padding:10px 4px;border-radius:15px;}.mobile-nav a.active,.mobile-nav a:hover{background:linear-gradient(135deg,var(--colvatel-azul),var(--colvatel-azul-2));color:#fff;}}
@media (max-width:520px){.topbar-inner{justify-content:center;}.topbar-logo{height:56px;max-width:245px;}.topbar-status{display:none;}.app-shell{padding-left:12px;padding-right:12px;}.info-card.main-info,.main-info{padding:24px;border-radius:22px;}.info-card h1,.main-info h1{font-size:25px;}.corporate-kpis{grid-template-columns:1fr;}.main-logo{max-height:68px;max-width:240px;}.logo-bar{justify-content:center;}}
