
:root {
  --primary: #005792;
  --secondary: #0095d9;
  --dark: #012b39;
  --light: #f4f4f4;
  --text: #333;
  --accent: #007ACC;
  --border-radius: 8px;
}

body {

  color: var(--text);
  background-color: var(--light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header, footer {
  background: var(--dark);
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

nav a:hover {
  color: var(--accent);
}


h1, h2 {
  color: var(--primary);
}

.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-body {
  padding: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background-color: var(--secondary);
}

.producto {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

.producto:hover {
  transform: translateY(-5px);
}

.producto img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.producto h3 {
  margin-top: 1rem;
  font-size: 1rem;
  color: #012B39;
}

.nosotros {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.nosotros-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.nosotros-content ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.nosotros-content li {
  margin-bottom: 0.5rem;
}

.main-header {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.logo {
  max-width: 500px;
  height: auto;
}

.navbar {
  width: 100%;
  background-color: #005792;
  padding: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 10px;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #08AEA0;
}

.intro-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #012b39;
  text-align: center;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .intro-text h1 {
    font-size: 4.5rem;
  }
}

.intro-text p {
  font-size: 1.5rem;
  color: #012b39;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .intro-text p {
    font-size: 1.8rem;
  }
}

.btn-ver-productos {
  display: inline-block;
  margin-top: 50px;
  padding: 12px 24px;
  background-color: #08AEA0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-ver-productos:hover {
  background-color: #056e6a;
  transform: scale(1.05);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #eaf4ff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.social-icon img {
  width: 60px;
  margin-bottom: 10px;
}

.btn-reorganizacion {
  display: inline-block;
  background-color: #eaf4ff;
  color: #007ACC;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 30px;
  margin-top: 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-reorganizacion:hover {
  background-color: #1420b8;
  color: #fff;
}


.main-header {
  width: 100%;
  background-color: #f5f5f5; /* cambia el color si lo necesitas */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 100%;
}

.logo-container img.logo {
  height: 100px; /*ajusta el tamaño de la imagen o logo */
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 18px;
}

.nav-menu li a:hover {
  color: #08AEA0;
}

/* RESPONSIVE: para pantallas pequeñas */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    padding-top: 0.5rem;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: 0.5rem 0;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background-color: #25d366;
  padding: 10px 14px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.whatsapp-text {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  white-space: nowrap;
}

/* Responsive: ocultar texto en móviles */
@media (max-width: 480px) {
  .whatsapp-text {
    display: none;
  }

  .whatsapp-float {
    padding: 10px;
    border-radius: 50%;
  }
}

/* external css: flickity.css */

* { box-sizing: border-box; }


.carousel {
  background: black;
}

.carousel-cell {
  width: 70%;
  height: 200px;
  /* flex-box, center image in cell */
  display: -webkit-box;
  display: -webkit-flex;
  display:         flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-align-items: center;
          align-items: center;
}

.carousel-cell img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  /* dim unselected */
  opacity: 0.7;
  -webkit-transform: scale(0.85);
          transform: scale(0.85);
  -webkit-filter: blur(5px);
          filter: blur(5px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
          transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}

/* brighten selected image */
.carousel-cell.is-selected img {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-filter: none;
          filter: none;
}

@media screen and ( min-width: 768px ) {
  .carousel-cell {
    height: 400px;
  }
}

@media screen and ( min-width: 960px ) {
  .carousel-cell {
    width: 60%;
  }
}

/* buttons, no circle */
.flickity-prev-next-button {
  width: 60px;
  height: 60px;
  background: transparent;
  opacity: 0.6;
}
.flickity-prev-next-button:hover {
  background: transparent;
  opacity: 1;
}
/* arrow color */
.flickity-prev-next-button .arrow {
  fill: white;
}
.flickity-prev-next-button.no-svg {
  color: white;
}
/* closer to edge */
.flickity-prev-next-button.previous { left: 0; }
.flickity-prev-next-button.next { right: 0; }
/* hide disabled button */
.flickity-prev-next-button:disabled {
  display: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
}

.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}


.whatsapp {
  margin-top: 15px;
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  width: 95%;
  max-width: 1200px;
  max-height: 800px; /* evita que ocupe toda la pantalla vertical */
  overflow-y: auto; /* activa scroll interno si es muy alto */
  border-radius: 10px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}


.modal-content {
  background: #fff;
  padding: 2rem;
  width: 100%;
  max-width: 1400px;
  border-radius: 10px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.gallery img {
  width: 55%;
  border-radius: 8px;
}

.modal-content .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.modal-content .gallery img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f4f4f4;
}

/* Responsivo para pantallas pequeñas */
@media screen and (max-width: 768px) {
  .modal-content .gallery img {
    max-width: 100%;
    max-height: 300px;
  }
}


.whatsapp {
  margin-top: 15px;
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Mejora responsiva */
@media screen and (max-width: 600px) {
  .modal-content {
    padding: 1rem;
  }

  .gallery img {
    width: 100%;
  }
}

.descarga {
  display: inline-block;
  margin-top: 10px;
  background: #012B39;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  margin-left: 10px;
}

.descarga:hover {
  background: #08AEA0;
}

.catalogo {
  padding: 2rem;
  background: #f7f7f7;
}

.catalogo h3 {
  margin-top: 2rem;
  color: #012b39;
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.producto {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.producto:hover {
  transform: scale(1.03);
}

.producto img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 6px;
}

.informes {
  background-color: #f8f9fa; /* opcional, color claro */
  padding: 40px;
  text-align: center;
}

.informes h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
}

.informe-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.pdf-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.informe-item a {
  color: #2a7b9b;
  text-decoration: none;
  font-weight: 500;
}

.informe-item a:hover {
  text-decoration: underline;
}

.intro-image img {
  object-fit: contain;
}

.intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.intro-text h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #012B39;
}

.intro-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #444;
  max-width: 600px;
}

.btn-ver-productos {
  padding: 0.75rem 1.5rem;
  background-color: #08AEA0;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.btn-ver-productos:hover {
  background-color: #06a093;
}

.intro-image img {
  width: 1200px; /* o ajústalo si deseas más pequeño o grande */
  height: auto;
  margin-top: 2rem;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

.map-container {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.footer {
  background-color: #007ACC;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Centrale Sans', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #eaf4ff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.map-container iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  border: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #eaf4ff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-column {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .map-container iframe {
    height: 250px;
  }
}

.contacto {
  padding-bottom: 80px; /* espacio debajo del botón */
}

.contact-form button {
  margin-top: 1rem;
  margin-bottom: 80px
}
