:root {
  --shop-color: #0066ff;
  --shop-dark: #004bb5;
  --service-color: #00c2ff;
  --service-dark: #0099cc;
  --dark-bg: #0a1930;
  --text-light: #ffffff;
  --transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark-bg);
  overflow-x: hidden;
}

/* ===== LOGO PRINCIPAL ===== */
.main-logo {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: transparent;
  padding: 0;
  border-radius: 0;
  transition: var(--transition);
}

.main-logo:hover {
  transform: translateX(-50%) scale(1.05);
}

.logo-img {
  height: 150px;
  width: auto;
  display: block;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.split-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  position: relative;
}

.split {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  cursor: pointer;
}

.split::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('circuit-pattern.svg');
  background-size: 200px;
  opacity: 0.1;
  z-index: 1;
}

.split.left {
  background: linear-gradient(135deg, rgba(0,102,255,0.85) 0%, rgba(0,75,181,0.9) 100%), 
              url('shopPhoto1.jfif') center/cover;
}

.split.right {
  background: linear-gradient(135deg, rgba(0,194,255,0.85) 0%, rgba(0,153,204,0.9) 100%), 
              url('supportPhoto.jpg') center/cover;
}

.split-container:hover .split {
  flex: 0.8;
}

.split-container .split:hover {
  flex: 1.4;
}

/* ===== CONTENIDO INTERNO ===== */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: 40px;
  max-width: 500px;
  transform: translateY(0);
  transition: transform 0.4s ease;
  animation: fadeIn 0.8s ease-out;
}

.split:hover .content {
  transform: translateY(-10px);
}

.split.left .content { animation-delay: 0.2s; }
.split.right .content { animation-delay: 0.4s; }

/* ===== ICONOS ===== */
.icon-shop,
.icon-service {
  font-size: 5rem;
  margin-bottom: 24px;
  filter: drop-shadow(0 6px 15px rgba(0,0,0,0.3));
  animation: float 3s ease-in-out infinite;
}

.icon-shop { animation-delay: 0s; }
.icon-service { animation-delay: 0.5s; }

.icon-shop svg,
.icon-service svg {
  width: 80px;
  height: 80px;
  color: white;
  filter: drop-shadow(0 6px 15px rgba(0,0,0,0.3));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ===== TIPOGRAFÍA ===== */
.content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-shop {
  background: white;
  color: var(--shop-color);
}

.btn-shop:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-service {
  background: white;
  color: var(--service-dark);
}

.btn-service:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 194, 255, 0.4);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE: MÓVILES ===== */
@media (max-width: 768px) {
  .split-container {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
  }

  .split {
    min-height: 50dvh;
    overflow: visible;
    padding: 20px 0;
  }

  .split-container:hover .split,
  .split-container .split:hover {
    flex: 1;
  }

  .main-logo {
    top: 15px;
    left: auto;
    right: 20px;
    transform: none;
  }

  .main-logo:hover {
    transform: scale(1.05);
  }

  .logo-img {
    height: 70px;
  }

  .content {
    padding: 20px;
  }

  .icon-shop,
  .icon-service {
    font-size: 3rem;
    margin-bottom: 16px;
  }

  .icon-shop svg,
  .icon-service svg {
    width: 60px;
    height: 60px;
  }

  .content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}