@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Fuente Klein - Agregar archivos .woff2 o .woff en la carpeta fonts/ */
@font-face {
  font-family: 'Klein';
  src: url('../fonts/Klein-Regular.woff2') format('woff2'),
       url('../fonts/Klein-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Klein';
  src: url('../fonts/Klein-Bold.woff2') format('woff2'),
       url('../fonts/Klein-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: 'Inter', sans-serif;
}

body {
  box-sizing: border-box;
}

.gradient-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ai-badge {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.btn-primary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
}

.logo-icon {
  background: transparent !important;
  mix-blend-mode: screen;
  filter: brightness(1.1) contrast(1.1);
  object-fit: contain;
  display: block;
  padding: 0;
}

.workmatchfy-brand {
  font-family: 'Inter', sans-serif;
}

/* Estilos para formulario de ayuda */
#formulario-ayuda input:focus,
#formulario-ayuda textarea:focus,
#formulario-ayuda select:focus {
  border-color: #FF6B00;
}

#formulario-ayuda input.border-red-500,
#formulario-ayuda textarea.border-red-500,
#formulario-ayuda select.border-red-500 {
  border-color: #ef4444;
}

#formulario-ayuda button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

#formulario-ayuda select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Carrusel styles */
.carousel-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden !important;
  border-radius: 1rem !important;
  height: 300px;
  max-height: 300px;
}

@media (min-width: 768px) {
  .carousel-wrapper {
    height: 500px;
    max-height: 500px;
  }
}

@media (min-width: 1024px) {
  .carousel-wrapper {
    height: 750px;
    max-height: 750px;
  }
}

.carousel-track {
  display: flex;
  will-change: transform;
}

.carousel-slide {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 1rem;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem !important;
  object-fit: cover;
}

.carousel-slide video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem !important;
  object-fit: cover;
}

/* Carrusel pequeño para "Ofrecer un Servicio" */
.carousel-container-small {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.carousel-wrapper-small {
  position: relative;
  overflow: hidden !important;
  border-radius: 0.5rem !important;
}

.carousel-track-small {
  display: flex;
  will-change: transform;
  width: 100%;
}

.carousel-slide-small {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  width: 100%;
  min-width: 100%;
}

.carousel-slide-small img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem !important;
  object-fit: contain;
}

.carousel-dot-small.active {
  background-color: rgba(107, 114, 128, 1);
  width: 6px;
  height: 6px;
}

/* Carrusel pequeño para "Buscar un Servicio o profesional" */
.carousel-container-small-buscar {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.carousel-wrapper-small-buscar {
  position: relative;
  overflow: hidden !important;
  border-radius: 0.5rem !important;
}

.carousel-track-small-buscar {
  display: flex;
  will-change: transform;
  width: 100%;
}

.carousel-slide-small-buscar {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  width: 100%;
  min-width: 100%;
}

.carousel-slide-small-buscar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem !important;
  object-fit: contain;
}

.carousel-dot-small-buscar.active {
  background-color: rgba(107, 114, 128, 1);
  width: 6px;
  height: 6px;
}

.carousel-dot.active {
  background-color: rgba(255, 255, 255, 1);
  width: 8px;
  height: 8px;
}

#preguntas-frecuentes details summary::-webkit-details-marker {
  display: none;
}

#preguntas-frecuentes details summary::marker {
  content: none;
}

