:root {
  --bg: #f3f4f6;
  --card-bg: #ffffff;
  --text: #0f1724;
  --muted: #6b7280;
  --accent: #0b3a57; /* steel blue */
  --accent-2: #d97706; /* amber accent */
  --glass: rgba(255,255,255,0.6);
}

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
  color: var(--accent-2);
  font-weight: 600;
}

/* Navbar / header */
.site-navbar {
  background: linear-gradient(90deg, #0b2f44 0%, #072734 100%);
  color: #fff;
}
.site-navbar .navbar-brand {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  color: #fff !important;
}
.site-navbar .btn-light {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}
.site-navbar .btn-success {
  background: var(--accent-2);
  border-color: rgba(217,119,6,0.9);
}

/* Cards */
.card {
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(15,23,36,0.04);
  box-shadow: 0 6px 18px rgba(12,28,38,0.06);
}

.container.mt-4 {
  max-width: 1100px;
}

/* Tables */
.table {
  border-collapse: separate;
  border-spacing: 0 8px;
}
.table thead th {
  background: transparent;
  border-bottom: none;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.table tbody tr {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.table tbody td {
  vertical-align: middle;
  border: none;
  padding: 14px 12px;
  color: var(--text);
}

/* Action buttons */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 8px;
  padding: 6px 10px;
}

.btn-outline-primary {
  color: var(--accent);
  border-color: rgba(11,58,87,0.12);
  background: transparent;
}
.btn-outline-primary:hover {
  background-color: rgba(11,58,87,0.06);
}

.btn-danger {
  background-color: #c53030;
  border-color: #b91c1c;
  box-shadow: 0 2px 6px rgba(197,56,56,0.12);
}

/* Forms */
.form-control {
  border-radius: 8px;
  border: 1px solid rgba(15,23,36,0.08);
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11,58,87,0.06);
}

/* Modal */
.modal-content {
  border-radius: 10px;
  border: 1px solid rgba(15,23,36,0.04);
}
.modal-header {
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* Small screens adjustments */
@media (max-width: 768px) {
  .container.mt-4 { max-width: 100%; padding: 0 12px; }
  .action-btn span { display: none; }
}

/* Footer (if present) */
.site-footer {
  padding: 28px 0;
  color: var(--muted);
  font-size: .9rem;
}

/* Utility */
.text-muted-custom { color: var(--muted); }

/* Dropdown Menu Styling */
.dropdown-menu {
  min-width: 180px;
  border-radius: 10px;
  border: 1px solid rgba(217,119,6,0.15);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(12,28,38,0.12);
  padding: 8px 0;
}

.dropdown-item {
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-weight: 500;
  color: var(--accent-2) !important;
}

.dropdown-item:hover {
  background: rgba(217,119,6,0.08);
  color: var(--accent-2) !important;
  font-weight: 600;
}

.dropdown-divider {
  margin: 6px 0;
  opacity: 0.3;
}

.site-navbar .dropdown-toggle::after {
  color: var(--accent-2);
}

/* Location Badge - Elegant and Eye-catching */
.location-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #1f2937;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-glow 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.location-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.location-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.location-badge i {
  font-size: 1.3rem;
  animation: bounce-pin 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.6), 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes bounce-pin {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Contact button icons */
.wh-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
}

.btn-contact { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn-contact.whats { background-color: var(--accent-2); color: white; }
.btn-contact.fb { background-color: #1877f2; color: white; }
.btn-contact.tel { background-color: #25d366; color: white; }

/* Estilos para iconos de formularios */
.input-group-text {
  min-width: 45px;
  justify-content: center;
  background-color: #f8f9fa;
  border-right: none;
}

.input-group-text i {
  font-size: 1.1rem;
}

.input-group > .form-control {
  border-left: none;
}

.input-group > .form-control:focus {
  border-left: none;
  box-shadow: none;
}

.input-group:focus-within .input-group-text {
  border-color: #86b7fe;
  background-color: #e7f1ff;
}
