/* =======================================================
   VARIABLES GLOBALES
======================================================= */
:root {
  --color-primario: #073C5C;
  --color-primario-hover: #0b598a;
  --color-acento: #0697C7;
  --color-acento-hover: #07aee6;
  --color-texto: #222;
  --color-subtexto: #555;
  --color-footer-bg: #212934;
}

/* =======================================================
   LOGOTIPO
======================================================= */
.img-logo {
  width: 150px;
  height: 65px;
  padding: 0;
}

/* =======================================================
   TEXTO ESTILIZADO
======================================================= */
.textoEpoxi {
  color: var(--color-acento);
}
.textoEpoxi:hover {
  color: var(--color-acento-hover);
}

/* =======================================================
   COLORES DE FONDO
======================================================= */
.colorEpoxi {
  background-color: var(--color-primario);
}
.colorEpoxi:hover {
  background-color: var(--color-primario-hover);
}

/* =======================================================
   BOTÓN PRINCIPAL
======================================================= */
.btnEpoxi {
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  background-color: var(--color-primario);
  border: 1px solid var(--color-primario);
  border-radius: 4px;
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  width: 129px;
  height: 41px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  vertical-align: middle;
}
.btnEpoxi:hover {
  background-color: var(--color-primario-hover);
  color: #fff;
}

/* =======================================================
   TÍTULOS DE SECCIÓN
======================================================= */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primario);
  text-align: center;
  margin: 2rem 0 1rem;
}

/* =======================================================
   PRODUCTOS MÁS VENDIDOS
======================================================= */
.best-products-section {
  background-color: #fdfdfd;
}
.section-header .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1rem;
  color: #666;
}

.product-card {
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
  height: 100%;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-5px);
}

.product-img-wrapper {
  height: 280px;
  padding: 20px;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.product-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  text-align: center;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-texto);
  margin-bottom: 0.5rem;
}
.product-desc {
  font-size: 0.95rem;
  color: var(--color-subtexto);
  margin-bottom: 1rem;
}
.product-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-primario);
  margin-bottom: 1rem;
}
.product-btn {
  background-color: transparent;
  border: 2px solid var(--color-primario);
  color: var(--color-primario);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.product-btn:hover {
  background-color: var(--color-primario);
  color: #fff;
}

/* Productos: Responsive */
@media (max-width: 768px) {
  .product-img-wrapper {
    height: 220px;
    padding: 15px;
  }
}

/* =======================================================
   RESEÑAS - CARRUSEL
======================================================= */
.card-resena {
  max-width: 700px;
  margin: auto;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}
.card-resena::before {
  content: "“";
  font-size: 4rem;
  color: #e6e6e6;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}
.resena-header {
  margin-bottom: 1.5rem;
}
.resena-nombre {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 0.5rem;
}
.resena-texto {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
}
.stars i {
  font-size: 1.2rem;
}

.custom-control {
  background-color: rgba(0, 0, 0, 0.4);
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: absolute;
  z-index: 2;
  transition: background-color 0.3s ease;
}
.custom-control:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
.carousel-control-prev.custom-control {
  left: -25px;
}
.carousel-control-next.custom-control {
  right: -25px;
}

@media (max-width: 768px) {
  .card-resena {
    padding: 1.5rem;
  }
  .resena-texto,
  .resena-nombre {
    font-size: 1rem;
  }
  .custom-control {
    width: 40px;
    height: 40px;
  }
  .carousel-control-prev.custom-control {
    left: -15px;
  }
  .carousel-control-next.custom-control {
    right: -15px;
  }
}

/* =======================================================
   FOOTER RESPONSIVE CORREGIDO
======================================================= */

.footer-container {
  background-color: #ffffff;
  color: #333333;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-block {
  flex: 1;
  min-width: 260px;
}

/* === Marca === */
.footer-logo-img {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #073C5C;
  margin: 0;
}

.footer-address {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  color: #555;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.25rem;
}

/* === Pagos === */
.footer-payments {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.pay-btn {
  width: 51px;
  height: 31px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.pay-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === Enlaces === */
.footer-title {
  font-size: 1.05rem;
  color: #073C5C;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #073C5C;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: #0b598a;
}

/* === Redes Sociales === */
.footer-social {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #073C5C;
  color: #073C5C;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
}

.footer-social a:hover {
  background-color: #073C5C;
  color: #ffffff;
}

/* === Parte inferior === */
.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #666;
  background-color: #fff;
}

.footer-certificates {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.cert-img {
  height: 48px;
  object-fit: contain;
}

.footer-credit {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.footer-credit a {
  color: #07aee6;
  text-decoration: none;
}
.footer-credit a:hover {
  text-decoration: underline;
}

/* === Responsive Mejorado === */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .footer-certificates {
    flex-direction: column;
    gap: 0.8rem;
  }

  .footer-social {
    margin-top: 1rem;
    justify-content: flex-start;
  }
}


/* =======================================================
   FORMULARIO DE CONTACTO - EPOXI DISEÑOS
======================================================= */

.form-section {
  background-color: #f8f9fa;
  padding: 4rem 1rem;
  border-radius: 2px;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #073C5C;
}

.form-title span {
  color: #07aee6;
}

.contact-form {
  max-width: 800px;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.form-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-grid .form-group {
  flex: 1 1 45%;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #073C5C;
}

.form-group label span {
  color: red;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #07aee6;
  outline: none;
}

.btn-send {
  background-color: #073C5C;
  color: #ffffff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-send:hover {
  background-color: #0b598a;
}

@media (max-width: 768px) {
  .form-grid {
    flex-direction: column;
  }

  .form-grid .form-group {
    flex: 1 1 100%;
  }

  .form-section {
    padding: 2rem 1rem;
  }
}


