/* ═══════════════════════════════════════════════
   PRIMER PISO SERVICIOS — styles.css
   Paleta: Verde #288334 | Gris #414244 | Azul #14689a
   FULLY RESPONSIVE + LANDING PAGE
═══════════════════════════════════════════════ */

:root {
  /* Colores Principales */
  --green:       #288334;
  --gray:        #414244;
  --blue:        #14689a;
  
  /* Variaciones y Neutros */
  --dark-green:  #1e6327;
  --dark-blue:   #0d4d73;
  --gray-mid:    #6b6d70;
  --gray-light:  #f8f9fa;
  --white:       #ffffff;
  --light-gray:  #f0f2f4;
  
  /* Estados */
  --danger:      #e74c3c;
  --warning:     #f39c12;
  --success:     #288334;
  
  /* Diseño / UI */
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 6px 24px rgba(65,66,68,.12);
  --shadow-lg:   0 12px 40px rgba(65,66,68,.18);
  --shadow-xl:   0 20px 50px rgba(0,0,0,.15);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════════════════════
   BASE & RESET
   ════════════════════════════════════════════ */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--gray-light);
  color: var(--gray);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .nav-brand {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ════════════════════════════════════════════
   LANDING PAGE (SPLASH SCREEN)
   ════════════════════════════════════════════ */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray) 0%, var(--dark-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  animation: fadeInUp 1s ease;
  padding: 2rem;
}

.splash-logo {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
}

.splash-logo img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

.splash-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.splash-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 3rem;
}

.splash-btn {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 16px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(40,131,52,0.4);
  letter-spacing: 2px;
}

.splash-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(40,131,52,0.6);
  background: var(--dark-green);
}

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

/* Main App Content (oculto inicialmente) */
.main-app {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.main-app.show {
  opacity: 1;
  visibility: visible;
}

/* ════════════════════════════════════════════
   NAVBAR — FULLY RESPONSIVE
   ════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: var(--gray);
  color: var(--white);
  height: 70px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 3px solid var(--green);
}

.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-logo {
  width: 42px;
  height: 42px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}

.nav-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-primer { font-size: 1.4rem; font-weight: 800; }
.brand-piso   { color: var(--green); font-size: 1.4rem; }
.nav-name small { 
  font-size: 0.65rem; 
  letter-spacing: 2px; 
  opacity: 0.8;
  margin-top: 2px;
}

/* Desktop Links */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: transform 0.3s ease;
  line-height: 1;
}

/* ════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════ */
.hero {
  height: 70vh;
  min-height: 500px;
  background: 
    linear-gradient(135deg, rgba(65,66,68,0.85) 0%, rgba(20,104,154,0.6) 100%),
    url('https://images.unsplash.com/photo-1503387762-592b58cfa4bd?q=80&w=2070') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 70px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: slideUp 0.8s ease;
  z-index: 2;
}

.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  border: 2px solid transparent;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40,131,52,0.4);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--gray);
}

.btn-outline-sm {
  background: transparent;
  border: 2px solid var(--gray-mid);
  color: var(--gray);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.btn-outline-sm:hover {
  background: var(--gray);
  border-color: var(--gray);
  color: var(--white);
}

.btn-danger-sm {
  background: var(--danger);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.btn-danger-sm:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-service {
  margin-top: 1.5rem;
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.btn-service:hover {
  background: var(--green);
  color: var(--white);
}

/* ════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════ */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--light-gray);
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(40,131,52,0.1);
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gray);
}

.text-green {
  color: var(--green);
}

.section-desc {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--gray-mid);
}

/* ════════════════════════════════════════════
   SERVICES GRID — Fully Responsive
   ════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gray-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 16px;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--green);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

/* ════════════════════════════════════════════
   FEATURE GRID — Para detalles de servicios
   ════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(40,131,52,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--green);
}

.feature-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--gray-mid);
}

/* ════════════════════════════════════════════
   PRICE BOX
   ════════════════════════════════════════════ */
.price-box {
  background: var(--gray);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 3rem;
}

.price-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-box .price {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Barlow Condensed', sans-serif;
  margin: 1rem 0;
}

.price-box .price small {
  font-size: 1rem;
  font-weight: normal;
}

/* ════════════════════════════════════════════
   GALLERY GRID
   ════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--gray) 0%, var(--dark-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.7);
}

.gallery-item p {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card i.fa-quote-left {
  color: var(--green);
  opacity: 0.3;
  font-size: 2rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.testimonial-card p {
  padding-left: 2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--green);
  text-align: right;
}

/* ════════════════════════════════════════════
   FORMULARIO — PROFESIONAL Y RESPONSIVO
   ════════════════════════════════════════════ */
.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  border: 1px solid rgba(65, 66, 68, 0.08);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 1px;
}

.form-group label i {
  margin-right: 8px;
  color: var(--green);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid #e8ecef;
  background-color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--gray);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 104, 154, 0.1);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b5b9;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* ════════════════════════════════════════════
   CONTACT GRID — Responsive
   ════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(40,131,52,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--green);
}

.contact-card h4 {
  margin-bottom: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
}

.contact-card p {
  color: var(--gray-mid);
  font-size: 0.9rem;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  background: var(--gray);
  color: var(--white);
  padding: 3rem 0 2rem;
  text-align: center;
  border-top: 5px solid var(--green);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  font-size: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 0.75rem;
}

.footer-brand i {
  color: var(--green);
  margin-right: 5px;
}

.footer-slogan {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gray);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 1200;
  transform: translateX(150%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background: var(--green);
}

.toast.error {
  background: var(--danger);
}

/* ════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--gray);
    padding: 1rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-top: 2px solid var(--green);
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease-out forwards;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .nav-link {
    padding: 0.6rem 1rem;
    display: block;
  }
  
  .hero {
    min-height: 450px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .form-card {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .feature-grid {
    gap: 1rem;
  }
  
  .gallery-grid {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-brand {
    gap: 8px;
  }
  
  .brand-primer,
  .brand-piso {
    font-size: 1.1rem;
  }
  
  .nav-name small {
    font-size: 0.55rem;
  }
  
  .nav-logo {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
    text-align: center;
  }
  
  .price-box .price {
    font-size: 2rem;
  }
}

/* ════════════════════════════════════════════
   STATS GRID — Responsive
   ════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray);
  font-family: 'Barlow Condensed', sans-serif;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-mid);
}

/* ════════════════════════════════════════════
   FILTER BAR — Responsive
   ════════════════════════════════════════════ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: space-between;
  align-items: center;
}

.filter-bar input,
.filter-bar select {
  padding: 10px 16px;
  border-radius: 8px;
  border: 2px solid #e8ecef;
  font-family: 'Nunito', sans-serif;
  flex: 1;
  min-width: 180px;
}

.filter-bar input:focus,
.filter-bar select:focus {
  outline: none;
  border-color: var(--blue);
}

.filter-bar .btn-outline-sm,
.filter-bar .btn-danger-sm {
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   ADMIN TABLE — Responsive
   ════════════════════════════════════════════ */
.table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 700px;
}

.admin-table th {
  background: #f1f3f5;
  text-align: left;
  padding: 14px 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.admin-table tr:hover {
  background: #f9f9f9;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}

.badge-pendiente { background: #ffeeba; color: #856404; }
.badge-proceso   { background: #b8daff; color: #004085; }
.badge-completado { background: #c3e6cb; color: #155724; }
.badge-cancelado { background: #f5c6cb; color: #721c24; }

.select-estado {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.8rem;
  cursor: pointer;
}

.action-btn {
  padding: 6px 10px;
  margin: 0 2px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
}

.action-view {
  background: var(--blue);
  color: white;
}

.action-view:hover {
  background: var(--dark-blue);
}

.action-delete {
  background: var(--danger);
  color: white;
}

.action-delete:hover {
  background: #c0392b;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--gray-mid);
}

.empty-state i {
  font-size: 3rem;
  opacity: 0.5;
}