/* TIPOGRAFÍA MODERNA */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fefefe;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #0d3b66;
  transition: color 0.3s ease;
}

a:hover {
  color: #0077cc;
}

/* ENCABEZADO */
header {
  background-color: #0d3b66;
  color: white;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin: 0;
  font-size: 2.8em;
}

header p {
  margin: 10px 0 0;
  font-size: 1.2em;
}

/* MENÚ DE NAVEGACIÓN */
nav {
  background-color: #f9f9f9;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

nav a {
  margin: 0 18px;
  font-weight: bold;
  font-size: 1em;
}

nav a:hover {
  color: #005fa3;
}

/* SECCIÓN INICIO (HERO) */
.hero {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #e8f1f9, #ffffff);
  text-align: center;
}

.hero img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #0d3b66;
}

/* SECCIÓN PROBLEMA */
.problema {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.problema h2 {
  color: #0d3b66;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.problema ul {
  list-style: none;
  padding-left: 0;
}

.problema li {
  margin-bottom: 12px;
  font-size: 1em;
}

/* SECCIÓN SOLUCIÓN */
.solucion {
  padding: 60px 20px;
  background-color: #f1f9f6;
}

.solucion h2 {
  color: #0d3b66;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.solucion h3 {
  margin-top: 25px;
  color: #333;
}

.solucion ul {
  list-style: none;
  padding-left: 0;
}

.solucion li {
  margin-bottom: 12px;
  font-size: 1em;
}

/* LLAMADO A LA ACCIÓN (CTA) */
.cta {
  background-color: #f0f8ff;
  padding: 60px 20px;
  text-align: center;
}

.cta h2 {
  color: #0d3b66;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.cta a {
  display: inline-block;
  background-color: #0d3b66;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta a:hover {
  background-color: #0a2f4a;
}

/* FORMULARIO DE COMPRA */
.formulario-compra {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.formulario-compra label {
  display: block;
  margin: 12px 0 5px;
  font-weight: 600;
}

.formulario-compra input,
.formulario-compra select {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.formulario-compra button {
  background-color: #0d3b66;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.formulario-compra button:hover {
  background-color: #0a2f4a;
}

/* PRODUCTO */
.producto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f0f8ff, #ffffff);
}

.producto img {
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-producto {
  max-width: 450px;
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-producto h2 {
  color: #0d3b66;
  font-size: 28px;
  margin-bottom: 10px;
}

.precio {
  font-size: 22px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 20px;
}

.tallas {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tallas button {
  padding: 10px 16px;
  border-radius: 8px;
  border: 2px solid #0d3b66;
  background-color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.tallas button:hover {
  background-color: #0d3b66;
  color: white;
}

.tallas button.selected {
  background-color: #0d3b66;
  color: white;
}

.comprar-btn {
  width: 100%;
  background-color: #0d3b66;
  color: white;
  font-size: 18px;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.comprar-btn:hover {
  background-color: #093054;
}

/* INCLUYE */
.incluye {
  background-color: #f1f9f6;
  padding: 60px 30px;
  text-align: center;
}

.incluye h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0d3b66;
}

.incluye ul {
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.incluye li {
  margin-bottom: 12px;
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav a {
    display: block;
    margin: 10px 0;
  }

  .formulario-compra {
    padding: 20px;
  }

  .hero img,
  .producto img {
    max-width: 90%;
  }
}
/* ESTILOS PARA CONTACTO.HTML */

.banner {
  background-color: #0d3b66;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 59, 102, 0.5);
  padding: 0 20px;
}

.banner img {
  height: 80px;
  margin-bottom: 10px;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.3));
}

.banner h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  user-select: none;
}

.contact-section {
  max-width: 600px;
  margin: 40px auto 60px auto;
  background-color: #e8f1f9;
  padding: 40px 35px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(13, 59, 102, 0.1);
}

.contact-section h2 {
  text-align: center;
  color: #0d3b66;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 2rem;
  user-select: none;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 12px 0 6px;
  font-weight: 600;
  color: #0d3b66;
}

input,
textarea {
  padding: 12px 15px;
  border: 2px solid #7aaedc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #0d3b66;
  outline: none;
  box-shadow: 0 0 10px rgba(13, 59, 102, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  margin-top: 28px;
  padding: 14px;
  background-color: #0d3b66;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
  background-color: #093054;
  box-shadow: 0 8px 20px rgba(13, 59, 102, 0.4);
}

.mensaje-bienvenida {
  display: none;
  margin-top: 25px;
  text-align: center;
  color: #2e7d32;
  font-size: 18px;
  font-weight: 700;
  user-select: none;
}

@media (max-width: 640px) {
  .contact-section {
    margin: 20px 15px 50px;
    padding: 30px 25px;
  }

  .banner h1 {
    font-size: 2rem;
  }
}
.seccion-contacto-final {
  background-color: #e8f1f9;
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid #cce0f0;
  margin-top: 60px;
}

.seccion-contacto-final h3 {
  font-size: 1.6em;
  color: #0d3b66;
  margin-bottom: 10px;
}

.seccion-contacto-final p {
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
}

.boton-contacto {
  font-weight: bold;
  color: #0d3b66;
  text-decoration: underline;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.boton-contacto:hover {
  color: #093054;
}
.form-compra {
  max-width: 400px;
  margin: 30px auto;
  padding: 25px 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

.form-compra label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-compra input[type="text"],
.form-compra input[type="email"],
.form-compra textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1.8px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  resize: vertical;
}

.form-compra input[type="text"]:focus,
.form-compra input[type="email"]:focus,
.form-compra textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.form-compra button[type="submit"] {
  background-color: #007bff;
  color: white;
  padding: 12px 0;
  width: 100%;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-compra button[type="submit"]:hover {
  background-color: #0056b3;
}

.form-compra button[type="submit"]:active {
  background-color: #004494;
}
/* Contenedor para imagen y formulario lado a lado */
.container {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

/* Sección de la imagen con ancho fijo */
.producto-info {
  flex: 0 0 180px;
  border-right: 1px solid #ddd;
  padding-right: 20px;
}

/* Imagen pequeña y estilizada */
.producto-info img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-bottom: 15px;
}

/* Formulario ocupa el espacio restante */
form.form-compra {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 620px) {
  .container {
    flex-wrap: wrap;
  }
  .producto-info {
    flex: 1 1 100%;
    border-right: none;
    padding-right: 0;
    margin-bottom: 20px;
  }
  form.form-compra {
    flex: 1 1 100%;
  }
}.imagen-problema {
  display: block;
  margin: 20px auto 35px auto;
  max-width: 400px; /* más pequeña */
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
.problema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 30px 0 40px 0;
}

.problema-card {
  background: #e6f0fb;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(13, 59, 102, 0.15);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: default;
}

.problema-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(13, 59, 102, 0.25);
}

.icono-card {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #0d3b66;
}

.solucion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 30px 0 40px 0;
}

.solucion-card {
  background: #d6e8fc;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(13, 59, 102, 0.15);
  padding: 25px 20px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: default;
}

.solucion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(13, 59, 102, 0.25);
}

.solucion-card .icono-card {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #0d3b66;
}

/* Botón Comprar estilo CTA */
.cta-boton {
  display: inline-block;
  background-color: #0d3b66;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 25px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.cta-boton:hover {
  background-color: #093054;
}
.intro-problema {
  font-size: 1.1em;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  color: #333;
}

.explicacion-problema {
  margin-top: 40px;
  background-color: #f8fbff;
  padding: 30px;
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.explicacion-problema h3 {
  color: #0d3b66;
  margin-bottom: 16px;
}

.explicacion-problema p {
  font-size: 1em;
  margin-bottom: 15px;
  color: #444;
}
.intro-solucion {
  font-size: 1.1em;
  max-width: 850px;
  margin: 20px auto;
  text-align: center;
  color: #333;
}

.imagen-solucion {
  display: block;
  max-width: 500px;
  margin: 30px auto 40px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.beneficios-extra {
  max-width: 800px;
  margin: 40px auto;
  background-color: #f9fcff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.beneficios-extra h3 {
  color: #0d3b66;
  margin-bottom: 20px;
  text-align: center;
}

.beneficios-extra ul {
  list-style: none;
  padding-left: 0;
}

.beneficios-extra li {
  margin-bottom: 12px;
  font-size: 1em;
  padding-left: 1.5em;
  position: relative;
}

.beneficios-extra li::before {
  content: '✔️';
  position: absolute;
  left: 0;
}

.frase-final {
  font-size: 1.2em;
  margin-top: 30px;
  text-align: center;
  font-weight: 600;
  color: #0d3b66;
}

.cta-boton.grande {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 32px;
  font-size: 1.2em;
  background-color: #0d3b66;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-boton.grande:hover {
  background-color: #093054;
}
.cta-boton.grande {
  display: block;
  margin: 30px auto 0;
  padding: 16px 32px;
  font-size: 1.2em;
  background-color: #0d3b66;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  max-width: 300px;
}

.cta-boton.grande:hover {
  background-color: #093054;
}
.mensaje-bienvenida {
  display: none;
  background-color: #e0ffe0;
  color: #2e7d32;
  padding: 20px;
  border: 1.5px solid #a5d6a7;
  border-radius: 10px;
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  transition: opacity 0.5s ease;
}
.mensaje-exito {
  background-color: #e9fbe9;
  border: 2px solid #4CAF50;
  border-radius: 12px;
  padding: 30px;
  margin-top: 20px;
  text-align: center;
  color: #2e7d32;
  animation: fadeIn 0.6s ease-in-out;
}

.mensaje-exito h2 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

.boton-volver {
  display: inline-block;
  margin-top: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-volver:hover {
  background-color: #388e3c;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}