@import url("../css/button/styleButton.css");

:root {
  --primary: #0f4c81;
  --secondary: #0f766e;
  --tertiary: #7dd3fc;
  --fourth: #374151;
  --btn-color: #0f4c81;
  --title: #0f172a;
  --text: #0b1220;
  --btn-hover-color: #0b3b5a;
  --btn-border-color: #083054;
}

body {
  overflow-x: hidden;
}

/* ============================================================
   SCROLLBAR OSCURA — TrustBar Panel
============================================================ */

/* --- Webkit (Chrome, Edge, Safari, Brave) --- */
.trustbar-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.trustbar-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  margin: 8px 0;
}

.trustbar-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--trustbar-primary, #10b981) 60%, #0a0a1a) 0%,
    rgba(16, 185, 129, 0.35) 100%
  );
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.trustbar-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--trustbar-primary, #10b981) 0%,
    rgba(16, 185, 129, 0.7) 100%
  );
  box-shadow: 0 0 12px
    color-mix(in srgb, var(--trustbar-primary, #10b981) 60%, transparent);
}

.trustbar-scroll::-webkit-scrollbar-thumb:active {
  background: var(--trustbar-primary, #10b981);
}

.trustbar-scroll::-webkit-scrollbar-corner {
  background: transparent;
}

/* --- Firefox --- */
.trustbar-scroll {
  scrollbar-width: thin;
  scrollbar-color: color-mix(
      in srgb,
      var(--trustbar-primary, #10b981) 55%,
      #0a0a1a
    )
    rgba(255, 255, 255, 0.02);
}

/* --- Ocultar flechas nativas (algunos navegadores) --- */
.trustbar-scroll::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

/* ***************************************************************************************************************** */

/* estilo de gallery masonry */

.my-masonry-grid {
  display: -webkit-box;
  /* Not needed if autoprefixing */
  display: -ms-flexbox;
  /* Not needed if autoprefixing */
  display: flex;
  justify-content: center;
  margin-left: -30px;
  /* gutter size offset */
  width: auto;
}

.my-masonry-grid_column {
  padding-left: 30px;
  /* gutter size */
  background-clip: padding-box;
}

/* Style your items */
.my-masonry-grid_column > div {
  /* change div to reference your elements you put in <Masonry> */
  background: grey;
  margin-bottom: 20px;
}

/* ***************************************************************************************************************** */

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-50%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide {
  animation: slideIn 0.5s ease-in-out;
}

/* Estilos para la sección de contacto tipo tarjeta */
.service-contact-section {
  /* Imagen de fondo tipo landing con overlay para legibilidad */
  background-image:
    linear-gradient(rgba(6, 10, 30, 0.65), rgba(6, 10, 30, 0.65)),
    url("/assets/images/stockWeb/bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.service-contact-card form-contact,
.service-contact-card form-contact * {
  /* Estilo base para los inputs generados por el componente */
  color: var(--text);
}

.service-contact-card input,
.service-contact-card textarea,
.service-contact-card select {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  border: none;
  box-shadow: none;
  width: 100%;
  outline: none;
  color: var(--text);
}

.service-contact-card textarea {
  min-height: 160px;
  resize: vertical;
}

.service-contact-card .form-row {
  display: flex;
  gap: 12px;
}

@media (max-width: 768px) {
  .service-contact-card .form-row {
    flex-direction: column;
  }
}

@layer utilities {
  .timeline-view {
    animation-timeline: view();
  }

  .animate-range-cover {
    animation-range: cover;
  }

  @keyframes zoom-in {
    from {
      opacity: 0;
      transform: scale(0.8);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .animate-zoom-in {
    animation-name: zoom-in;
    animation-fill-mode: both;
    animation-duration: 1s;
    animation-timing-function: ease-out;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.animate-slideDown {
  animation: slideDown 0.2s ease-out forwards;
}

.animate-slideUp {
  animation: slideUp 0.2s ease-in forwards;
}

.animate-shake {
  animation: shake 0.3s ease-in-out;
}

/* Trust bar neon frame */

@property --trustbar-neon-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes trustbarNeonSpin {
  to {
    --trustbar-neon-angle: 360deg;
  }
}

.trustbar-neon-border {
  --trustbar-neon-size: 2px;
  --trustbar-neon-angle: 0deg;
  padding: var(--trustbar-neon-size);
  background: conic-gradient(
    from var(--trustbar-neon-angle),
    #ff004c 0deg,
    #ff8a00 45deg,
    #ffe600 90deg,
    #21d07a 135deg,
    #00d4ff 180deg,
    #2364ff 225deg,
    #b829ff 270deg,
    #ff35c8 315deg,
    #ff004c 360deg
  );
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.75))
    drop-shadow(0 0 18px rgba(255, 53, 200, 0.55));
  opacity: 0.95;
  animation: trustbarNeonSpin 4s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

@media (prefers-reduced-motion: reduce) {
  .trustbar-neon-border {
    animation: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Scrollbar fino */
.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #8b5cf6, #d946ef);
  border-radius: 999px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #7c3aed, #c026d3);
}

@import "tailwindcss";

@theme {
  /* Animaciones sutiles */
  --animate-fade-up: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  --animate-fade-in: fade-in 0.5s ease-out both;
  --animate-line-grow: line-grow 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;

  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes line-grow {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
}

.font-rock {
  font-family: "Rockstar", Arial, sans-serif;
}

:root {
  /* Superficies oscuras en capas */
  --surface-0: #050505;      /* fondo base */
  --surface-1: #0d0d0f;      /* cards principales */
  --surface-2: #141417;      /* cards elevadas */
  --surface-3: #1c1c21;      /* hover / chips */

  /* Bordes (blancos con alpha, no negros) */
  --border-soft: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Texto sobre oscuro */
  --text-primary: #f5f5f4;
  --text-secondary: rgba(245, 245, 244, 0.72);
  --text-muted: rgba(245, 245, 244, 0.48);
  --text-faint: rgba(245, 245, 244, 0.32);

  /* Radios (más contenidos) */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
}

/* ── Redes sociales ────────────────────────────────────── */
.services-curated__socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.services-curated__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.services-curated__social-link:hover,
.services-curated__social-link:focus-visible {
  background-color: #39ff14; /* verde neón de la referencia */
  color: #0b0b0b;
  border-color: #39ff14;
  transform: translateY(-3px);
  outline: none;
}

.services-curated__social-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.35);
}