/* ==========================================================================
   NEXUS PENQUISTA — EXACT GOOGLE SITES HOME PAGE REPLICA STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  line-height: 1.4;
}

/* Header & Top Navigation Bar */
.home-header {
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
}

.header-container-full {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-header .logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.home-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.home-nav .nav-item {
  position: relative;
}

.home-nav .nav-link {
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.home-nav .nav-link:hover,
.home-nav .nav-link.active {
  opacity: 0.8;
}

/* Dropdown Menu */
.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 6px;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.btn-header-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* 100% Viewport Width Section Base */
.section-full-width {
  width: 100vw;
  min-width: 100%;
  position: relative;
  margin: 0;
  padding: 60px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

.section-overlay.dark-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.section-overlay.faq-dark-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* 1. Hero Section */
.section-hero {
  background-image: url('../assets/home/hero-bg.jpg');
  min-height: 520px;
}

.hero-content-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.hero-main-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-chevron-down {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease;
}

.hero-chevron-down:hover {
  transform: translateY(4px);
  color: #ffffff;
}

/* Category Sections Container (Inner Centered Content) */
.section-inner-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

@media (max-width: 768px) {
  .section-inner-container {
    flex-direction: column;
    text-align: center;
  }
}

.section-card-box {
  flex: 0 0 340px;
  max-width: 360px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.section-card-box:hover {
  transform: translateY(-6px);
}

.section-card-box.card-box-white {
  background: #ffffff;
  padding: 12px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.section-title-text:hover {
  opacity: 0.85;
}

.section-subtitle-text {
  font-family: 'PT Sans', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Backgrounds for Sections */
.section-anime-bg { background-image: url('../assets/home/anime-bg.jpg'); min-height: 420px; }
.section-gaming-bg { background-image: url('../assets/home/gaming-bg.jpg'); min-height: 420px; }
.section-custom-bg { background-image: url('../assets/home/custom-bg.jpg'); min-height: 420px; }
.section-medieval-bg { background-image: url('../assets/home/medieval-bg.jpg'); min-height: 420px; }

/* ==========================================================================
   COMBINED BANNERS SECTION (PRECIOS, ENVÍO Y GARANTÍAS)
   ========================================================================== */

.info-banners-combined-section {
  width: 100vw;
  min-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.banner-block-item {
  width: 100vw;
  min-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.banner-img-box {
  width: 100vw;
  min-width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000000;
  line-height: 0;
  overflow: hidden;
}

.banner-img-uncropped {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0;
}

.banner-text-box {
  width: 100vw;
  min-width: 100%;
  padding: 44px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* 1.2 Cyan Text Box */
.banner-text-cyan {
  background-color: #00cbf6;
  color: #000000;
}

.banner-text-cyan .banner-title-main {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: #000000;
  letter-spacing: -0.5px;
}

.prices-list-box p {
  font-family: 'PT Sans', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: #000000;
  margin: 6px 0;
}

.prices-list-box p strong {
  font-weight: 700;
}

/* 2.2 Purple Text Box */
.banner-text-purple {
  background-color: #52167d;
  color: #ffffff;
}

.banner-text-purple .banner-title-main {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.banner-text-purple .banner-title-main strong {
  font-weight: 900;
}

.communes-text-list {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 3.2 Brown-Reddish-Yellowish Text Box */
.banner-text-brown {
  background-color: #a35133;
  color: #ffffff;
}

.features-stack-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.feature-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Carousel Section */
.section-carousel-bg {
  background-image: url('../assets/home/carousel-bg.jpg');
  min-height: 480px;
}

.carousel-full-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px 1fr;
  align-items: center;
  gap: 32px;
}

@media (max-width: 960px) {
  .carousel-full-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.carousel-side-info p {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.carousel-main-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  background: #111827;
}

.carousel-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-img.active {
  opacity: 1;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots-bar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.carousel-dots-bar .dot.active {
  background: #00cbf6;
  width: 20px;
  border-radius: 10px;
}

/* FAQ Section */
.section-faq-bg {
  background-image: url('../assets/home/faq-bg.jpg');
  min-height: 600px;
  padding: 80px 0;
}

.faq-inner-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-main-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 32px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.faq-articles-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-article h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.faq-article p,
.faq-article ol {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.faq-num-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-bonus-article h3 {
  color: #00cbf6;
}

/* Footer */
.home-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 36px 32px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}
