/* ========================================================
   ZIDAN SOLUCIONES TECNOLÓGICAS - ESTILOS CORPORATIVOS
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #243849;
  --color-primary-dark: #1a2a37;
  --color-primary-light: #324e66;
  --color-accent: #90a5c5;
  --color-accent-hover: #7b93b5;
  --color-border: #b8c2cc;
  --color-bg-light: #f7f8fa;
  --color-neutral: #858d97;
  --font-heading: 'Exo 2', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

html, body {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: #1f2937;
}

.site-header-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff !important;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* ========================================================
   HERO SLIDER FULL-WIDTH (100VW) & MULTIMEDIA
   ======================================================== */
.hero-swiper {
  width: 100vw;
  height: 88vh;
  min-height: 600px;
  max-height: 880px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 92vh;
    min-height: 540px;
  }
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.hero-video-wrapper iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36, 56, 73, 0.92) 0%, rgba(36, 56, 73, 0.78) 50%, rgba(26, 42, 55, 0.88) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Swiper Controls Custom Styling */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff !important;
  background: rgba(36, 56, 73, 0.65);
  backdrop-filter: blur(8px);
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  border: 1px solid rgba(144, 165, 197, 0.4);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--color-primary);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.1rem !important;
  font-weight: 800;
}

.swiper-pagination-bullet {
  width: 14px !important;
  height: 6px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  width: 34px !important;
  background: var(--color-accent) !important;
  box-shadow: 0 0 10px rgba(144, 165, 197, 0.8);
}

/* ========================================================
   CARDS & UI GLOW ACCENTS
   ======================================================== */
.card-service {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(36, 56, 73, 0.15);
  border-color: var(--color-accent);
}

.tech-grid-pattern {
  background-image: radial-gradient(rgba(144, 165, 197, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Botón WhatsApp Flotante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #25D366;
  color: white;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f3f5;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-neutral);
}
