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

body {
  /* Fondo local WebP */
  background-image: url('fondo%20web.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #2e0e26;

  /* Renderizado optimizado */
  image-rendering: -webkit-optimize-contrast;

  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

/* ===================================
   BARRA SUPERIOR DE NAVEGACIÓN (4 COLS)
   =================================== */

.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.top-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
  width: 100%;
  align-items: center;
}

.menu-column {
  display: flex;
  justify-content: center;
}

.menu-column:not(:last-child) {
  border-right: 2px solid #2e0e26;
}

.top-menu-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background-color: #ffffff;
  color: #2e0e26;
  padding: 0.9rem 0.5rem;
  font-family: 'Bangers', system-ui;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.top-menu-btn:hover,
.top-menu-btn.active {
  background-color: #2e0e26;
  color: #ffffff;
}

/* ===================================
   CONTENEDOR PRINCIPAL
   =================================== */

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin: auto 0;
}

.logo-text {
  font-family: 'Bangers', system-ui;
  font-size: 4.5rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase;

  /* Contorno negro sólido */
  -webkit-text-stroke: 3px #000000;
  text-anchor: 3px #000000;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  min-height: 110px;
  padding: 1rem;
  border: 2px solid #ffffff;
  border-radius: 12px;
  color: #000000;

  text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff,
     0px  0px 4px #ffffff;

  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.btn span {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 4px;
  color: #000000;
}

.btn-wiki {
  background-image: url('https://i.pinimg.com/736x/5b/a8/e6/5ba8e61a5b29572e50d2f84b3f017594.jpg');
}

.btn-manga {
  background-image: url('https://i.pinimg.com/736x/8a/da/d4/8adad4c6b0eeea9063b39ae34d590b02.jpg');
}

.btn-insta {
  background-image: url('https://i.pinimg.com/736x/19/01/c3/1901c3ed1c9444945a046cf3ff052e4f.jpg');
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border-color: #ffffff;
}

/* ===================================
   TARJETAS DE CONTENIDO SECCIONES
   =================================== */

.content-card {
  background-color: rgba(46, 14, 38, 0.92);
  backdrop-filter: blur(8px);
  border: 2px solid #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  width: 100%;
  color: #ffffff;
  text-align: left;
}

.section-title {
  font-family: 'Bangers', system-ui;
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  color: #ffffff;
  -webkit-text-stroke: 2px #000000;
  text-anchor: 2px #000000;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.contact-info p {
  margin-bottom: 0.8rem;
}

.contact-info a {
  color: #ffffff;
  text-decoration: underline;
}

/* ===================================
   ESTILOS LISTADO DE ENCARGOS
   =================================== */

.encargos-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.encargo-item {
  display: block;
  padding: 1.2rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid #ffffff;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.encargo-item:hover {
  background-color: #ffffff;
  color: #2e0e26;
  transform: translateX(6px);
}

.encargo-item h3 {
  font-family: 'Bangers', system-ui;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.encargo-item p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Botones de navegación interna */
.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-action-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #2e0e26;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.nav-action-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ===================================
   DIAGRAMACIÓN ENCARGO 2
   =================================== */

.encargo-container {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
}

/* SECCIÓN SUPERIOR GRID */
.top-grid-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Columna izquierda info */
.main-info-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0d1b2a;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.orange-divider {
  width: 40px;
  height: 4px;
  background-color: #f39c12;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.main-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 2rem;
}

.main-description strong {
  color: #1a1a1a;
}

/* Botón naranjo con icono */
.orange-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f39c12;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.orange-btn:hover {
  background-color: #d68910;
  transform: translateY(-2px);
}

.icon-external {
  display: inline-block;
}

/* Columna derecha: 4 tarjetas en grid 2x2 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.service-card {
  background-color: #f4f5f7;
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.card-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #3b5998;
  position: relative;
  padding-left: 14px;
  margin-bottom: 0.8rem;

  /* Cuadrado indicador azul */
  display: flex;
  align-items: center;
}

.card-tag::before {
  content: '';
  position: absolute;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: #3b5998;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d1b2a;
  line-height: 1.3;
}

/* SECCIÓN INFERIOR BANNER */
.banner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #1b263b;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.banner-content {
  padding: 3rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding-left: 14px;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.banner-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background-color: #778da9;
}

.banner-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.blue-divider {
  width: 40px;
  height: 4px;
  background-color: #778da9;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.banner-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #e0e1dd;
  margin-bottom: 2rem;
}

.banner-image {
  width: 100%;
  height: 100%;
}

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

/* RESPONSIVO PARA DISPOSITIVOS MÓVILES */
@media (max-width: 850px) {
  .top-grid-section {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .banner-section {
    grid-template-columns: 1fr;
  }

  .banner-image {
    height: 300px;
  }
}

@media (max-width: 550px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }


/* ===================================
   CONTENEDOR A PANTALLA CASI COMPLETA
   =================================== */

.container-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%; /* Ocupa el 95% del ancho de la pantalla */
  max-width: 1400px; /* Ancho máximo amplio para monitores grandes */
  margin: 1.5rem auto;
}

.full-card {
  width: 100%;
  padding: 2rem;
}

.pdf-wrapper {
  width: 100%;
  height: 82vh; /* Ocupa el 82% de la altura total de la pantalla */
  min-height: 650px;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: #ffffff;
}

.pdf-viewer {
  width: 100%;
  height: 100%;
  border: none;
}
}
