body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: white;
	overflow-x: hidden;
}

/* Prevenir scroll cuando el menú está abierto */
body.menu-open {
	overflow: hidden;
}
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
  cursor: pointer !important;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1),
              0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}



.cta-button {
	transition: all 0.3s ease-in-out;
}

.cta-button:hover {
	transform: scale(1.05) translateY(-2px);
	box-shadow: 0 10px 20px rgba(166, 43, 54, 0.25), 0 4px 8px rgba(166, 43, 54, 0.15);
}

.applish-shadow {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.applish-shadow-lg {
	box-shadow: 0 8px 12px -3px rgba(0, 0, 0, 0.05), 0 3px 5px -2px rgba(0, 0, 0, 0.04);
}

.applish-shadow-xl {
	box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08), 0 6px 10px -3px rgba(0, 0, 0, 0.06);
}

.text-gradient-thrax,
.text-gradient-subtitle {
	display: inline-block;
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: transform 0.4s ease !important;
}

.text-gradient-thrax {
	background-image: linear-gradient(90deg, #0A84FF, #BF5AF2, #FF375F, #FF9F0A);
}

.text-gradient-subtitle {
	background-image: linear-gradient(90deg, #0A84FF, #BF5AF2, #FF375F, #FF9F0A);
	font-weight: 500;
}

.text-gradient-thrax:hover{
  transform: translateY(-8px) scale(1.02) !important;
  transition: transform 0.4s ease !important;
}

.whatsapp-button {
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-button:hover {
	background: linear-gradient(135deg, #1DAA54 0%, #0F7062 100%);
	
}

.language-selector {
	position: relative;
}

.language-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	background-color: white;
	border: 1px solid #e5e7eb;
	border-radius: 0.375rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	z-index: 50;
	min-width: 120px;
	margin-top: 0.5rem;
}

.language-dropdown a {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	color: #4b5563;
	text-decoration: none;
	transition: all 0.2s ease;
}

.language-dropdown a:hover {
	background-color: #f8fafc;
	color: #a62b36;
}


/* --- Estilos del menú móvil mejorado --- */
.mobile-menu-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 24rem; /* 384px */
	height: 100%;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	z-index: 50;
	transition: transform 0.3s ease-in-out;
}

@media (min-width: 768px) {
	.mobile-menu-panel {
		display: none !important;
	}
}
nav a {
  transition: all 0.3s ease-in-out;
}

nav a:hover {
  transform: scale(1.05) translateY(-2px);
}

#mobileMenuOverlay {
	transition: opacity 0.3s ease-in-out;
}

/* Asegurar que translate funcione */
.translate-x-full {
	transform: translateX(100%) !important;
}

.translate-x-0 {
	transform: translateX(0) !important;
}

/* --- Estilos del formulario --- */
.input-error {
	border-color: #ef4444 !important;
}

.input-success {
	border-color: #22c55e !important;
}

.floating-form-label.error {
	color: #ef4444 !important;
}

.floating-form-label.success {
	color: #22c55e !important;
}

.error-message {
	color: #ef4444;
	font-size: 0.875rem;
	margin-top: 0.25rem;
	display: block;
	min-height: 1.25rem;
}

/* --- Estilos para Formulario Flotante Estilo Apple --- */
.floating-form-group {
	position: relative;
	margin-bottom: 0.5rem;
}

.floating-form-input {
	border: 1px solid #d1d5db;
	width: 100%;
	height: 3.5rem;
	padding: 1rem 1rem 0;
	border-radius: 0.5rem;
	background-color: #f8fafc;
	transition: all 0.2s ease-in-out;
	-webkit-appearance: none;
	font-size: 1rem;
}

.floating-form-input:focus {
	outline: none;
	border-color: #a62b36;
	background-color: #ffffff;
}

.floating-form-label {
	position: absolute;
	top: 0.875rem;
	left: 1rem;
	color: #6b7280;
	pointer-events: none;
	transition: all 0.2s ease-out;
	transform-origin: top left;
	font-size: 1rem;
}

.floating-form-input:focus ~ .floating-form-label,
.floating-form-input:not(:placeholder-shown) ~ .floating-form-label {
	transform: translateY(-0.625rem) scale(0.75);
	color: #a62b36;
}

textarea.floating-form-input {
	height: auto;
	padding-top: 1.5rem;
	min-height: 8rem;
	resize: vertical;
}

textarea.floating-form-input ~ .floating-form-label {
	top: 1rem;
}

/* --- Estilos para el fondo de la sección Hero --- */
.hero-background {
	background-color: #fdfdff;
	background-image:
			radial-gradient(circle at 1% 1%, rgba(162, 28, 175, 0.15) 0%, transparent 40%),
			radial-gradient(circle at 99% 99%, rgba(249, 115, 22, 0.15) 0%, transparent 45%);
	position: relative;
}

/* --- Kit Digital Logo --- */
.kit-digital-logo img {
	max-height: 50px;
	margin: 0.5rem;
}

/* --- Animaciones adicionales --- */
@keyframes slideInRight {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes slideOutRight {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(100%);
	}
}

/* --- Media queries para mejorar la responsividad --- */
@media (max-width: 768px) {
	.hero-background {
		padding-top: 6rem;
		padding-bottom: 5rem;
	}

	.text-gradient-thrax {
		font-size: 2rem;
	}
}
.team-photo {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-photo:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.logo-thrax-large {
  width: 200px; 
  height: auto;
}
.logo-thrax-xl {
  width: 400px;
  height: auto;
}
.logo-kitdigital-small {
  width: 200px;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}

.logo-kitdigital-small {
  left: 0;
}

.logo-plarecu-small {
  right: 0;
}

.logo-hover {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.logo-hover:hover {
  transform: scale(1.05) translateY(-5px);

}
h2 {
  transition: transform 0.4s ease, filter 0.4s ease;

}
h2:hover {
  transform: scale(1.05) translateY(-5px);

}
h3 {
  transition: transform 0.4s ease, filter 0.4s ease;

}
h3:hover {
  transform: scale(1.05) translateY(-5px);

}
.titulo-contacto {
  transition: transform 0.4s ease, filter 0.4s ease !important;
}

.titulo-contacto:hover {
  transform: scale(1.05) translateY(-5px) !important;
}



input:focus::placeholder,
textarea:focus::placeholder {
  color: #a62b36; 
}

.imagen-digital {
  margin-top: 2rem;
  position: absolute;
  opacity: 0.7;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}


.imagen-digital:hover {
  opacity: 1;


}
.separacion-barra {
  padding-top: 3rem !important; 
}
#testimonio {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

#testimonio h2 {
  font-size: 42px;
  color: #000000;
  margin-bottom: 40px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.testimonio {
  flex: 0 0 calc(33.3333% - 30px);
  background: #fafafa;
  border-radius: 18px;
  margin: 0 15px;
  padding: 35px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

.testimonio img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 4px #b30000;
}

.testimonio p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.testimonio span {
  font-size: 14px;
  color: #888;
}

.controles {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.controles button {
  background: #b30000;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  margin: 0 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  transition: background 0.3s;
}

.controles button:hover {
  background: #800000;
}

/* Tablets */
@media (max-width: 992px) {
  .testimonio {
    flex: 0 0 calc(50% - 20px);
    margin: 0 10px;
  }

  #testimonio h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .slider {
    flex-direction: column;
  }

  .testimonio {
    flex: 0 0 100%;
    margin: 0 0 20px;
  }

  #testimonio {
    padding: 40px 16px;
  }

  #testimonio h2 {
    font-size: 28px;
  }

.controles {
    display: none !important;
    border: 2px solid red;
}

}