/* =========================
   BASE GENERAL
========================= */
body {
  background: #0a0a0a;
  color: white;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.03em;
}

h1, h2, h3, h5, p {
  color: white;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* =========================
   TIPOGRAFÍA GLOBAL PREMIUM
========================= */
h1, h2, h3, h4, h5, h6,
.title-hero,
.section-title,
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.navbar-brand.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
}

.nav-link {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.title-hero {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn-custom {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.1em;
}

.premium-card h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.premium-card p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.brands-section h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
}

.footer-premium p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.trust-section h4,
.trust-section h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.trust-section .small-text {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.83rem;
  letter-spacing: 0.07em;
}

.form-control,
.form-control::placeholder {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.chat-header {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.bot, #userInput {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* =========================
   NAVBAR
========================= */
.glass {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.logo {
  color: #00ff88 !important;
}

.nav-anim a {
  position: relative;
  margin-left: 15px;
}

.nav-anim a::after {
  content: '';
  position: absolute;
  height: 2px;
  background: #00ff88;
  width: 0%;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-anim a:hover::after {
  width: 100%;
}

/* =========================
   HERO
========================= */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
  url('https://images.unsplash.com/photo-1503376780353-7e6692767b70');
  background-size: cover;
  background-position: center;
}

.title-hero {
  animation: fadeUp 1.5s ease;
}

.subtitle {
  animation: fadeUp 2s ease;
}

/* =========================
   BOTONES
========================= */
.btn-custom {
  background: linear-gradient(45deg, #00ff88, #00cc66);
  color: black;
  border: none;
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
  transition: 0.3s;
}

.btn-custom:hover {
  transform: scale(1.08);
}

/* =========================
   MARCAS (SCROLL INFINITO)
========================= */
.brands-section {
  background: #050505;
  overflow: hidden;
  padding: 20px 0;
}

.brand-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scroll 30s linear infinite;
  mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
  align-items: center;
}

.brand-track:hover {
  animation-play-state: paused;
}

.brand-label {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 35px;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: default;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-label:hover {
  color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  border-bottom-color: rgba(255,255,255,0.5);
}

.small-track .brand-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.32);
  margin: 0 28px;
}

.small-track .brand-label:hover {
  color: rgba(255, 255, 255, 1);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   CARDS PREMIUM
========================= */
.premium-card {
  background: #111;
  padding: 25px;
  border: 1px solid #00ff88;
  transition: 0.3s;
}

.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #00ff88;
}

/* =========================
   FORMULARIO
========================= */
.form-box {
  background: #111;
  padding: 20px;
  border-radius: 10px;
}

/* =========================
   WHATSAPP
========================= */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
  z-index: 999;
}

/* =========================
   CHATBOT PREMIUM
========================= */
.chat-toggle {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: #00ff88;
  color: black;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
  z-index: 999;
}

.chatbot {
  position: fixed;
  bottom: 170px;
  right: 20px;
  width: 300px;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,255,136,0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}

.chatbot.active {
  display: flex;
}

.chat-header {
  background: #00ff88;
  color: black;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.chat-body {
  height: 250px;
  overflow-y: auto;
  padding: 10px;
}

.bot {
  color: #00ff88;
  margin-bottom: 8px;
}

.user {
  text-align: right;
  margin-bottom: 8px;
}

#userInput {
  border: none;
  padding: 10px;
  background: #222;
  color: white;
  outline: none;
}

.chat-typing {
  padding: 5px 10px;
  font-size: 12px;
  color: #aaa;
}

/* =========================
   EMPRESA (historia.html)
========================= */
.hero-empresa {
  height: 60vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
  url('https://images.unsplash.com/photo-1503376780353-7e6692767b70');
  background-size: cover;
  background-position: center;
}

.intro {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  opacity: 0.8;
}

.card-empresa {
  background: #111;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #00ff88;
  margin: 15px;
  transition: 0.3s;
}

.card-empresa:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px #00ff88;
}

.icono {
  width: 60px;
  margin-bottom: 15px;
}

/* =========================
   SECCIÓN CONFIANZA
========================= */
.trust-section {
  background: #050505;
}

.payments img {
  width: 70px;
  margin: 10px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.payments img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* =========================
   FOOTER PREMIUM
========================= */
.footer-premium {
  background: black;
  padding: 30px 0;
  border-top: 1px solid #00ff88;
}

.small-text {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =========================
   CARRUSEL 3D AUTOMÁTICO
========================= */
.carousel-3d {
  perspective: 1200px;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-3d-track {
  position: relative;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  animation: giro360 18s linear infinite;
  cursor: grab;
}

.carousel-3d-track:active {
  cursor: grabbing;
}

.carousel-3d:hover .carousel-3d-track {
  animation-play-state: paused;
}

/* TARJETAS CON IMAGEN */
.card-3d {
  position: absolute;
  width: 170px;
  height: 270px;
  border-radius: 20px;
  left: 50%;
  top: 50%;
  transform-origin: center;
  transition: 0.5s ease;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 10px rgba(0,255,136,0.15);
}

.card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.card-3d:hover img {
  transform: scale(1.05);
}

/* POSICIÓN EN CÍRCULO */
.card-3d:nth-child(1) {
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(260px);
}
.card-3d:nth-child(2) {
  transform: translate(-50%, -50%) rotateY(72deg) translateZ(260px);
}
.card-3d:nth-child(3) {
  transform: translate(-50%, -50%) rotateY(144deg) translateZ(260px);
}
.card-3d:nth-child(4) {
  transform: translate(-50%, -50%) rotateY(216deg) translateZ(260px);
}
.card-3d:nth-child(5) {
  transform: translate(-50%, -50%) rotateY(288deg) translateZ(260px);
}

/* ANIMACIÓN GIRO */
@keyframes giro360 {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* =========================
   ANIMACIONES GENERALES
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
} 