:root {
  --plateado: #d3d3d3;
  --arena: #f4e2d8;
  --azul-playa: #3fbac2;
  --turquesa: #92e3d5;
  --oro: #e2c275;
  --fondo: #0d0d11;
  --oro-puro: #e2c275;
  --plata-pura: #d3d3d3;
}

/* ======= GLOBALES ======= */
body {
  margin: 0;
  font-family: 'Titillium Web', sans-serif;
  background-color: var(--fondo);
  color: var(--plateado);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--oro);
}

section {
  padding: 4rem 2rem;
  max-width: 960px;
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ======= LOGO ANIMADO ======= */
@keyframes brilloMetálico {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.marca h1,
.marca p {
  background: linear-gradient(90deg, var(--oro-puro), var(--plata-pura), var(--oro-puro));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilloMetálico 6s ease-in-out infinite;
}

/* ======= HEADER ======= */
header {
  background: rgba(17, 19, 33, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(226, 194, 117, 0.3);
  border-bottom: 2px solid var(--oro);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.1);
}

.marca p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--turquesa);
}

/* ======= NAV ======= */
nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--azul-playa);
  font-weight: bold;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--turquesa);
}

/* ======= HAMBURGER MENU ======= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--oro);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ======= RESPONSIVE NAV ======= */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(17, 19, 33, 0.95);
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.4s ease;
  }

  nav.show {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 1rem 2rem;
  }

  nav a {
    margin: 0.8rem 0;
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }
}
/* Header general */
header {
  background: rgba(17, 19, 33, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(226, 194, 117, 0.3);
  border-bottom: 2px solid var(--oro);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
}

/* Logo + marca */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transform: scale(0.85); /* Reduce todo el grupo visualmente */
}

/* Imagen del logo */
.logo img {
  height: 30px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Marca (KAISER y subtítulo) */
.marca h1 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--oro);
  line-height: 1;
}
.marca p {
  margin: 0;
  font-size: 0.65rem;
  color: var(--turquesa);
  line-height: 1.2;
}

/* Selector de idioma compacto */
.selector-idioma {
  margin-left: auto;
  padding: 0;
  transform: scale(0.85);
}

/* Select de idioma */
.selector-idioma select {
  padding: 0.3rem 2.2rem 0.3rem 2.2rem;
  font-size: 0.85rem;
  background-color: #0d0d11;
  color: white;
  border: 1px solid #444;
  border-radius: 5px;
  appearance: none;
  background-repeat: no-repeat;
  background-position: 0.5rem center;
  background-size: 1.3rem;
}

/* NAV se mantiene igual */

/* ======= HERO ======= */
#hero {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #111321, #1a1f2e);
  overflow: hidden;
}

.video-wrapper {
  position: absolute;
  top: 50%;
  
  left: 50%;
  width: 100vh;
  height: 100vw;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
  z-index: 0;
  
}
@media (max-width: 768px) {
 .video-wrapper {
height: 406vw;  
}
}

.contenido {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  color: white;
  text-align: start;
}

#hero h2 {
  font-size: 2.4rem;
  color: var(--plateado);
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.2rem;
  color: #b5b5b5;
  margin-bottom: 2rem;
}

.boton {
  background-color: var(--azul-playa);
  color: #000;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.boton:hover {
  background-color: var(--turquesa);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .contenido {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
  }

  .contenido.mostrar {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======= SERVICIOS ======= */
#servicios {
  background: #0d0d0d;
  color: #fff;
}

#servicios h2 {
  text-align: start;
}

.tarjetas-servicios {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.tarjeta {
  flex: 0 0 250px;
  background: #1a1a1a;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: scale(1.05);
}

.tarjeta .icono {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.tarjeta p {
  font-size: 1rem;
  color: #ccc;
}

/* ======= VISIÓN ======= */
#vision {
  position: relative;
  color: white;
}

#vision img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.4);
}

#vision .contenido {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  max-width: 600px;
}

#vision h2 {
  font-size: 2.5em;
  color: #00ccff;
}

#vision p {
  font-size: 1.2em;
}

@media (max-width: 768px) {
  #vision img {
    height: 100vh;
  }

  #vision .contenido {
    bottom: 10%;
    left: 5%;
    right: 5%;
    top: auto;
    transform: none;
  }

  #vision h2 {
    font-size: 1.6em;
  }

  #vision p {
    font-size: 1em;
  }
}

/* ======= QUIÉNES SOMOS ======= */
#quienes-somos {
  background: linear-gradient(135deg, #0a0a0a, #1f1f1f);
  color: #f1f1f1;
  padding: 3rem 1.5rem;
  text-align: start;
  display: flex;
  justify-content: center;
}

#quienes-somos .contenido {
  max-width: 700px;
  width: 100%;
}

#quienes-somos h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00ccff;
}

#quienes-somos p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  padding: 0 1rem;
}

#quienes-somos strong {
  color: #ffffff;
}

#quienes-somos em {
  color: #00ccff;
  font-weight: 600;
}

@media (max-width: 480px) {
  #quienes-somos {
    padding: 2rem 1rem;
  }

  #quienes-somos h2 {
    font-size: 1.5rem;
  }

  #quienes-somos p {
    font-size: 0.95rem;
    padding: 0;
  }
}

/* ======= CONTACTO ======= */
#contacto {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #f1f1f1;
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

.contenedor-contacto {
  width: 100%;
  max-width: 600px;
  text-align: start;
}

#contacto h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #00ccff;
}

#contacto p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

#contacto form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contacto input,
#contacto textarea {
  background-color: #121212;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #f1f1f1;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

#contacto input:focus,
#contacto textarea:focus {
  border-color: #00ccff;
}

#contacto textarea {
  resize: vertical;
  min-height: 120px;
}

#contacto button {
  background-color: #00ccff;
  color: #000;
  font-weight: bold;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

#contacto button:hover {
  background-color: #00aacc;
  transform: scale(1.03);
}

@media (max-width: 480px) {
  #contacto h2 {
    font-size: 1.6rem;
  }

  #contacto p {
    font-size: 1rem;
  }
}

/* ======= FOOTER ======= */
footer {
  background-color: #111321;
  text-align: center;
  padding: 2rem;
  color: #aaa;
  font-size: 0.9rem;
}
.scroll-horizontal {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-horizontal::-webkit-scrollbar {
  display: none; /* oculta la barra de scroll */
}

.tarjeta {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: #111;
  border-radius: 1rem;
  padding: 1rem;
  min-width: 220px;
  max-width: 250px;
  color: white;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 204, 255, 0.3);
}

.icono {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.herramienta-kaiser {
  background: #0d0d11;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

.herramienta-kaiser input {
  padding: 0.8rem 1rem;
  width: 90%;
  max-width: 400px;
  margin: 1rem auto;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #1a1a1a;
  color: #fff;
}

.herramienta-kaiser button {
  padding: 0.8rem 1.5rem;
  background-color: var(--azul-playa);
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.herramienta-kaiser button:hover {
  background-color: var(--turquesa);
  transform: scale(1.05);
}

.herramienta-kaiser #qr-preview canvas {
  margin-top: 2rem;
  max-width: 100%;
}

.herramienta-kaiser a#qr-download {
  display: inline-block;
  margin-top: 1rem;
  background: var(--oro);
  color: #000;
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.herramienta-kaiser a#qr-download:hover {
  background: #f1da90;
}
.herramienta-kaiser {
  animation: entradaQR 1.2s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes entradaQR {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo-uploader {
  margin: 1.5rem auto;
  text-align: center;
}

.custom-upload-button {
  background-color: #1a1a1a;
  color: var(--azul-playa);
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
  border: 2px dashed var(--azul-playa);
}

.custom-upload-button:hover {
  background-color: var(--turquesa);
  color: #000;
}

#logo-input {
  display: none;
}

#logo-preview-container {
  margin-top: 1rem;
}

#logo-preview {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #333;
  display: none;
}
.custom-upload-button {
  display: inline-block;
  background: #1a1a1a;
  color: var(--azul-playa);
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
  border: 2px dashed var(--azul-playa);
  transition: background-color 0.3s ease;
}

.custom-upload-button:hover {
  background-color: var(--turquesa);
  color: #000;
}

#logo-input {
  display: none;
}

#logo-preview-container {
  margin-top: 1rem;
}

#logo-preview {
  max-width: 100px;
  max-height: 100px;
  display: none;
  border-radius: 8px;
  border: 1px solid #333;
}
.miniaturas-sitios a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  color: #ccc;
  max-width: 280px;
}

.miniaturas-sitios img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
  transition: transform 0.3s ease;
}

.miniaturas-sitios a:hover img {
  transform: scale(1.05);
}

.miniaturas-sitios p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--plateado);
}
.banner-promocion {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  color: var(--azul-playa);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid var(--azul-playa);
  box-shadow: 0 -4px 8px rgba(0, 204, 255, 0.1);
  z-index: 999;
  animation: slideUp 0.8s ease forwards;
  font-size: 1rem;
}

.banner-promocion .botones-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-promocion .boton-secundario {
  background: none;
  border: 1px solid var(--azul-playa);
  padding: 0.5rem 1rem;
  color: var(--azul-playa);
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-promocion .boton-secundario:hover {
  background-color: var(--turquesa);
  color: #000;
}

.banner-promocion button {
  background: none;
  border: none;
  color: #888;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.banner-promocion button:hover {
  color: #fff;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.banderas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.bandera {
  width: 28px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.bandera:hover {
  transform: scale(1.1);
}

/* Ocultar/mostrar por tipo de pantalla */
.desktop-only {
  display: none;
}

.mobile-only {
  display: flex;
  position: absolute;
  right: 3.5rem;
  top: 1rem;
}

@media screen and (min-width: 768px) {
  .desktop-only {
    display: flex;
    margin-left: auto;
    margin-right: 1rem;
  }

  .mobile-only {
    display: none;
  }
}
.selector-idioma {
  margin-left: auto;
  padding: 0.5rem;
}

.selector-idioma select {
  padding: 0.4rem 2.5rem 0.4rem 2.5rem;
  font-size: 1rem;
  background-color: #0d0d11;
  color: white;
  border: 1px solid #444;
  border-radius: 5px;
  appearance: none;
  background-repeat: no-repeat;
  background-position: 0.5rem center;
  background-size: 1.5rem;
}

.selector-idioma select:focus {
  outline: none;
  border-color: #00ccff;
}
