/* ==========================================
   1. RESETEO Y CONFIGURACIÓN BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #05060a;
  color: #ffffff;
  overflow-x: hidden;
}

section {
  padding: 5rem 5vw;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.section-title span {
  background: linear-gradient(90deg, #00ffb2, #00a8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================
   2. SECCIÓN HERO (PORTADA)
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1920"); 
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) contrast(1.1);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 255, 178, 0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(0, 140, 255, 0.25), transparent 60%);
  z-index: -1;
}

.hero-content {
  max-width: 750px;
  background: rgba(5, 6, 10, 0.4);
  padding: 2.5rem;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7ee8ff;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-title span {
  background: linear-gradient(90deg, #00ffb2, #00ffeb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cdcdde;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 178, 0.2);
  background: rgba(0, 255, 178, 0.05);
  color: #e0fbf4;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
/* Botón de Llamada Directa */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.btn-phone i {
  color: #00ffb2; /* Icono del teléfono en verde neón */
}

.btn-phone span {
  font-weight: 700;
  color: #00ffb2;
}

/* Efecto al pasar el mouse por encima */
.btn-phone:hover {
  background: rgba(0, 255, 178, 0.08);
  border-color: #00ffb2;
  transform: translateY(-2px);
}

/* Ajuste para que en celulares se acomode uno abajo del otro perfectamente */
@media (max-width: 768px) {
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .btn-phone {
    justify-content: center;
    width: 100%;
  }
}
.btn-primary {
  padding: 1rem 2.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #05060a;
  background: linear-gradient(135deg, #00ffb2, #00a8ff);
  box-shadow: 0 0 25px rgba(0, 255, 178, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 255, 178, 0.6);
}

.hero-note {
  font-size: 0.85rem;
  color: #a9a9a9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-note i {
  color: #25d366;
}

/* ==========================================
   3. SECCIÓN: NUESTROS TRABAJOS (MODO CARTELERA)
   ========================================== */
.trabajos {
  background: #090b11;
  position: relative;
}

/* Envoltura para controlar el espacio */
.cartelera-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Transformación a fila horizontal con scroll suave */
.grid-trabajos {
  display: flex; /* Alinea los trabajos de costado */
  gap: 2rem;
  overflow-x: auto; /* Permite deslizar hacia los lados */
  scroll-behavior: smooth;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  
  /* Ajusta cómo se frena el deslizamiento para que se sienta premium */
  scroll-snap-type: x mandatory; 
}

/* Estilizado de la barra de deslizamiento inferior */
.grid-trabajos::-webkit-scrollbar {
  height: 8px;
}
.grid-trabajos::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 178, 0.3);
  border-radius: 10px;
}
.grid-trabajos::-webkit-scrollbar-thumb:hover {
  background: #00ffb2;
}

/* Ajuste de las tarjetas para que no se aplasten de costado */
.tarjeta-trabajo {
  flex: 0 0 320px; /* Evita que las tarjetas se encojan, mantiene su ancho fijo */
  scroll-snap-align: start; /* Se alinea perfectamente al deslizar */
  background: #111420;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

/* Efecto cuando pasas el mouse por encima de una tarjeta */
.tarjeta-trabajo:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #00ffb2;
  box-shadow: 0 10px 25px rgba(0, 255, 178, 0.15);
}

.imagen-trabajo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #1b2032;
  transition: transform 0.5s ease;
}

.tarjeta-trabajo:hover class .imagen-trabajo {
  transform: scale(1.05); /* Pequeño zoom en la foto al pasar el mouse */
}

.info-trabajo {
  padding: 1.5rem;
}

.info-trabajo h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #00ffb2;
}

.info-trabajo p {
  font-size: 0.9rem;
  color: #bcbcbc;
  line-height: 1.5;
}

/* Ajuste especial para que en pantallas de celular se deslice igual de cómodo */
@media (max-width: 768px) {
  .tarjeta-trabajo {
    flex: 0 0 280px; /* Un poco más delgadas en móviles */
  }
}
/* ==========================================
   4. SECCIÓN: RESEÑAS VERIFICADAS (TRUSTPILOT)
   ========================================== */
.resenas {
  background: #05060a;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.trustpilot-header {
  text-align: center;
  margin-bottom: 3rem;
}

.trustpilot-subtitle {
  color: #a9a9a9;
  font-size: 1rem;
  margin-top: -2rem;
}

.trustpilot-container {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* El widget ocupa un poco más de espacio */
  gap: 3rem;
  align-items: center;
}

/* Caja contenedora para el Widget */
.trustpilot-widget-box {
  background: #111420;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 184, 124, 0.15); /* Sutil brillo verde Trustpilot */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* Estilo temporal mientras colocas el widget oficial */
.trust-placeholder .trust-stars {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.trust-placeholder h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.trust-placeholder h3 span {
  color: #00b87c; /* Verde oficial Trustpilot */
}

.trust-placeholder p {
  color: #bcbcbc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Columna derecha: Acciones */
.trustpilot-actions {
  background: rgba(17, 20, 32, 0.5);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.trustpilot-actions h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.trustpilot-actions p {
  color: #a9a9a9;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Botón elegante verde Trustpilot */
.btn-trustpilot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 1rem;
  background: #00b87c; /* Color Verde Trustpilot */
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 184, 124, 0.2);
}

.btn-trustpilot:hover {
  background: #009e6a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 184, 124, 0.4);
}

/* Adaptación para pantallas de celulares */
@media (max-width: 768px) {
  .trustpilot-container {
    grid-template-columns: 1fr; /* Se apila en una sola columna */
    gap: 2rem;
  }
  
  .trustpilot-subtitle {
    margin-top: -1.5rem;
    padding: 0 1rem;
  }
}/* ==========================================
   BOTÓN DE LLAMADA DIRECTA (VERDE NEÓN)
   ========================================== */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.btn-phone i {
  color: #00ffb2; /* Icono en verde neón */
}

.btn-phone span {
  font-weight: 700;
  color: #00ffb2; /* Número en verde neón */
}

/* Efecto al pasar el mouse por encima */
.btn-phone:hover {
  background: rgba(0, 255, 178, 0.08);
  border-color: #00ffb2;
  transform: translateY(-2px);
}