/* =========================================
   VARIANTE COLORES LOGO TRANSPARENCIA LATAM
   Basado en tonos celestes con buen contraste
   ========================================= */

:root {
  /* Paleta Principal - Celestes del logo */
  --primary-dark: #006A8E;      /* Azul oscuro para textos y acentos */
  --primary-medium: #00A3DA;    /* Celeste vibrante principal */
  --primary-light: #E6F7FF;     /* Celeste muy claro para fondos */
  --primary-accent: #4BC8F1;    /* Celeste brillante para hover/efectos */
  
  /* Tonos complementarios */
  --secondary-blue: #2D7DA4;    /* Azul intermedio */
  --light-blue: #B3E5FC;        /* Celeste pastel */
  
  /* Estados (manteniendo contraste) */
  --accent-red: #E53935;
  --accent-green: #43A047;
  --accent-orange: #FB8C00;
  --accent-purple: #8E24AA;
  
  /* Textos - Colores oscuros para buen contraste */
  --text-dark: #1A237E;         /* Azul oscuro rico */
  --text-medium: #37474F;       /* Gris azulado */
  --text-light: #607D8B;        /* Gris medio */
  
  /* Fondos */
  --bg-light: #F5FBFE;          /* Fondo general muy suave celeste */
  --white: #ffffff;
  --card-bg: #FFFFFF;
  
  /* Bordes y separadores */
  --border-light: #B3E5FC;      /* Bordes celestes suaves */
  --border-medium: #81D4FA;     /* Bordes más definidos */
  
  /* Sombras con tonos celestes */
  --shadow-soft: 0 4px 12px rgba(0, 163, 218, 0.12);
  --shadow-medium: 0 6px 20px rgba(0, 106, 142, 0.15);
  --shadow-strong: 0 10px 30px rgba(45, 125, 164, 0.18);
  
  /* Efectos de gradiente */
  --gradient-primary: linear-gradient(135deg, #00A3DA, #006A8E);
  --gradient-light: linear-gradient(135deg, #E6F7FF, #B3E5FC);
  
  /* Radio de bordes */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  
  /* Transiciones */
  --transition: all 0.3s ease;
}

/* =========================================
   1. RESET Y BASE
   ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  /* Patrón sutil de fondo */
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(179, 229, 252, 0.2) 0px, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(179, 229, 252, 0.15) 0px, transparent 50%);
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* =========================================
   2. HEADER Y NAVEGACIÓN
   ========================================= */

.navbar-custom {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 106, 142, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-medium);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {

      width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255, 255, 255);
     border: 2px solid var(--primary-medium);
}

.logo-tl {
  background: var(--white);
  padding: 5px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}




.logo-text h2 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.logo-text p {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin: 0;
}

/* =========================================
   3. COMPONENTES PRINCIPALES
   ========================================= */

/* --- Hero Section --- */
.hero-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  margin-top: -2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Cards --- */
.card-custom {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  margin-bottom: 25px;
  transition: var(--transition);
}

.card-custom:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
  border-color: var(--primary-medium);
}

.card-custom h2,
.card-custom h3 {
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

/* --- Botones --- */
.btn-custom {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 163, 218, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-custom:hover::before {
  left: 100%;
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 163, 218, 0.4);
  background: linear-gradient(135deg, #0095C7, #005D7A);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-medium);
  color: var(--primary-medium);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--primary-medium);
  color: white;
  border-color: var(--primary-medium);
}

/* --- Inputs y Formularios --- */
label {
  display: block;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  background-color: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
  margin-bottom: 1.2rem;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  outline: none;
  border-color: var(--primary-medium);
  box-shadow: 0 0 0 3px rgba(0, 163, 218, 0.15);
  background-color: var(--white);
}

/* =========================================
   4. COMPONENTES ESPECÍFICOS
   ========================================= */

/* Service Cards */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 5px solid var(--primary-medium);
  transition: var(--transition);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--border-medium);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.5s ease;
}

/* Buzón de Denuncias */
.denuncia-header {
  background: var(--gradient-primary);
  color: white;
  padding: 20px 30px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.denuncia-content {
  padding: 30px;
  background: var(--white);
}

.estado-badge {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Comentarios */
.comentario {
  background: var(--primary-light);
  border-left: 4px solid var(--primary-medium);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.comentario:hover {
  background: #D8F2FF;
}

.comentario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comentario-autor h4 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.comentario-fecha {
  font-size: 0.85rem;
  color: var(--text-medium);
}

/* Upload Area */
.upload-area,
.upload-group-buzon {
  border: 2px dashed var(--border-medium);
  border-radius: var(--border-radius);
  background-color: var(--primary-light);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-area:hover,
.upload-group-buzon:hover {
  background-color: #D8F2FF;
  border-color: var(--primary-medium);
}

/* =========================================
   5. FOOTER
   ========================================= */

.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
  border-top: 4px solid var(--primary-medium);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 15px;
  transition: 0.3s;
  font-weight: 500;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

/* =========================================
   6. RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .logo-text {
    text-align: center !important;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .card-custom {
    padding: 20px;
  }
  
  .btn-custom {
    padding: 12px 24px;
  }
  
  .denuncia-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* =========================================
   7. UTILIDADES Y EFECTOS ESPECIALES
   ========================================= */

/* Efecto de brillo en elementos importantes */
.highlight {
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    var(--primary-medium), 
    var(--primary-accent), 
    var(--primary-medium));
  border-radius: calc(var(--border-radius) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.highlight:hover::after {
  opacity: 0.3;
}

/* Animación de carga */
@keyframes pulse-blue {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse-blue 2s infinite;
}

/* Scroll personalizado */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-medium);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}