/* ===========================
   Variables base (Mobile-first)
   =========================== */ :root {
  --max-width: 980px;
  --text: #ffffff;
  --bg: transparent;
  --title-lila: #d0b3ff;
  --muted: #cccccc;
  --accent: #ffcc00;
}
/* ===========================
   Reset y fondo global
   =========================== */
html, body, header, figure, picture, img, h1, h2, p {
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: #231a72;
  /* Si quieres fondo con imagen, descomenta: */
  /* background-image: url("imagenes/fondopliegoazul.png");
     background-repeat: repeat;
     background-attachment: fixed; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ===========================
   Header y top image
   =========================== */
.site-header {
  text-align: center; /* centra contenido horizontalmente */ margin: 0;
  padding: 0;
  line-height: 0; /* elimina gap por línea */ background: transparent;
}
.top {
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  width: 95%;
}
picture {
  display: block;
}
.top-img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 980px;
  width: 95%;
} /* En móviles, reduce ancho y centra */
@media (max-width: 600px) {
  .top-img {
    display: block;
    width: 90%; /* deja que use su tamaño natural */ max-width: 90%; /* limita al 90% del viewport */ margin: 0 auto;
    align-content: center;
  }
} /* En tablets pequeñas */
@media (max-width: 768px) {
  .top-img {
    display:
      block;
    width: 95%;
    max-width: 95%; /* limita al 95% del viewport */ margin: 0 auto;
    align-items: center;
  }
} /* En desktop mediano */
@media (min-width: 992px) {
  .top-img {
    max-width: 980px;
    width: 95%;
  }
}
/* ===========================
   Enlaces
   =========================== */
a:link {
  text-decoration: none;
  color: cyan;
}
a:visited {
  text-decoration: none;
  color: #adadad;
}
a:hover {
  text-decoration: none;
  color: rgba(151, 127, 2, 1);
}
a:active {
  text-decoration: none;
  color: #ffffff;
}
/* ===========================
   Contenedor principal
   =========================== */
.container {
  box-sizing: border-box;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  padding: 0 20px 20px; /* sin padding arriba para no empujar el header */
}
/* ===========================
   Tipografías y textos
   =========================== */
.main-title {
  text-align: center;
  color: var(--title-lila);
  font-size: 1.9rem;
  line-height: 1.1;
  margin: 10px 0 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.intro {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
/* ===========================
   Info section layout
   =========================== */
.info-section {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-align: center; /* fuerza centrado de todo el contenido */
}
.info-content {
  text-align: center; /* asegura que los textos internos estén centrados */
}
.info-col {
  text-align: center;
}
.side-img {
  width: 60%;
  height: auto;
  transition: width 0.3s ease;
}
.slider-text {
  display: block;
  text-align: center;
  color: #ffffff; /* blanco */ 
	font-weight: bold; /* negrita */ 
	font-size: 1.3em; /* tamaño */ 
	margin: 0.5em 0; /* espacio arriba y abajo */
}
/* ===========================
   Carrusel pasarela
   =========================== */
.carousel-section {
  margin: 30px auto;
  max-width: 80%;
  position: relative;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-item {
  flex: 0 0 33.33%;
  box-sizing: border-box;
  padding: 5px;
}
.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(35, 26, 114, 0.7);
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.carousel-btn:hover {
  background: rgba(35, 26, 114, 0.9);
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}
/* ===========================
   Sección despachos
   =========================== */
.sec-compras {
  margin: 30px auto;
  max-width: 80%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  text-align: center;
}
.shipping-info h2.style2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.5;
}
.sec-info h1.textos {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.4;
}
.project-section {
  text-align: center; /* centra todo el contenido */ margin: 0px auto; /* centra la sección en la página */ padding: 0px 0px;
}
.project-section h2 {
  text-align: center;
  margin: 10px 0;
}
.project-section .footer-social {
  text-align: center;
  margin-bottom: 3px;
}
.project-section .footer-social a {
  display: inline-block;
  margin: 0 2px;
}
.project-section a.flex_text {
  display: inline-block;
  margin-top: 2px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}
.project-section a.flex_text:hover {text-decoration: underline; }


/* ===========================
   Footer
   =========================== */
.site-footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}
.footer-social {
  margin-bottom: 15px;
}
.footer-social a {
  display: inline-block;
  margin: 0 8px;
}
.footer-social .icon {
  width: 38px;
  height: auto;
  transition: transform 0.3s;
}
.footer-social .icon:hover {
  transform: scale(1.1);
}
.footer-info .footerp {
  font-size: 0.95rem;
  color: #fff;
  margin: 8px 0;
}
.footer-info .textos {
  font-size: 1rem;
  margin: 10px 0;
}
.footer-info a {
  color: var(--accent, #ffcc00);
  text-decoration: none;
  font-weight: 600;
}
.footer-info a:hover {
  text-decoration: underline;
}
/* ===========================
   Responsividad
   =========================== */
/* Móviles ≤600px */
@media (max-width: 600px) {
  /* Header top centrado y proporcional */
  .top-img {
    max-width: 90%;
  }
  /* Carrusel a 1 imagen */
  .carousel-item {
    flex: 0 0 100%;
  }
  .carousel-btn {
    padding: 8px;
    font-size: 1.2rem;
  }
  /* Footer más compacto */
  .footer-social .icon {
    width: 32px;
  }
  .footer-info .footerp {
    font-size: 0.85rem;
  }
  .footer-info .textos {
    font-size: 0.9rem;
  }
  /* Info section en una columna */
  .info-section {
    grid-template-columns: 1fr;
  }
  .side-img {
    width: 60%;
    margin: 0 auto;
  }
}
/* Tablets pequeñas ≤768px */
@media (max-width: 768px) {
  .sec-compras {
    padding: 15px;
    max-width: 95%;
  }
  .shipping-info h2.style2 {
    font-size: 1rem;
  }
  .sec-info h1.textos {
    font-size: 1.2rem;
  }
  .style41 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffcc00;
  }
  .style21 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: bold;
    line-height: 1.4;
  }
  .nnormal {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-top: 0.5rem;
  }
  .h3 {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    margin-top: 1rem;
    line-height: 1.4;
  }
}
/* Tablets grandes ≤900px */
@media (max-width: 900px) {
  .carousel-item {
    flex: 0 0 50%;
  }
}
/* Desktop mediano ≥992px */
@media (min-width: 992px) {
  .site-header {
    text-align: center;
  }
  .top-img {
    max-width: 980px;
  }
}
/* Ajustes intermedios ≥700px */
@media (min-width: 700px) {
  .main-title {
    font-size: 2.4rem;
  }
  .intro {
    font-size: 1.05rem;
  }
}
/* Desktop grande ≥1100px */
@media (min-width: 1100px) {
  section.project-section {
    padding: 20px;
  }
}