/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Sticky footer estructura */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.site-wrapper {
  flex: 1;
}

/* Topbar */
.topbar {
  background-color: #004d5d;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* Navbar */
.navbar {
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #eee;
}

.navbar .logo {
  width: 120px;
  height: auto;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar li {
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

.navbar li.active {
  color: #00778B;
  border-bottom: 2px solid #00778B;
}

#searchBtn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* Contenido principal */
.container {
  max-width: 1100px;
  margin: 30px auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.intro-text {
  font-size: 15px;
  margin-bottom: 20px;
  color: #555;
}

.banner {
  background-color: #00778B;
  color: white;
  padding: 10px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Logo sección */
.logo-section {
  text-align: center;
  margin: 30px 0;
}

.logo-section img {
  max-width: 100px;
  margin-bottom: 10px;
}

.logo-section h1 {
  font-size: 28px;
}

.logo-section p {
  font-weight: bold;
  color: #555;
}

/* Contenido dividido */
.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 20px;
}

.image-box img {
  max-width: 100%;
  border-radius: 8px;
}

.info-box {
  background-color: #eeeeee;
  padding: 20px;
  flex: 1;
  border-radius: 8px;
}

.info-box h3 {
  background-color: #444;
  color: white;
  padding: 10px;
  margin-bottom: 10px;
}

.info-box p {
  margin-bottom: 10px;
  font-size: 14px;
}

.icon-box {
  margin-top: 10px;
  font-size: 16px;
}

.ver-mas {
  display: inline-block;
  background-color: #00a99d;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

/* Footer superior */
.footer-top {
  background-color: #003945;
  color: white;
  padding: 10px 0;
  text-align: center;
}

.footer-top a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

.footer-top span {
  color: white;
}

/* Footer inferior */
.footer-bottom {
  background-color: #004d5d;
  color: white;
  padding: 20px;
  text-align: center;
}

.footer-logo,
.social-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 8px;
}

.social-icons {
  margin-bottom: 10px;
}

/* Botones flotantes */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.whatsapp-button img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.whatsapp-button img:hover {
  transform: scale(1.1);
}

/* Acordeones */
.accordion-container {
  max-width: 900px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

.accordion {
  background-color: #f9f9f9;
  color: #333;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.accordion:hover {
  background-color: #ececec;
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
  border-bottom: 1px solid #ccc;
}

/* Títulos dentro del acordeón */
.panel h4 {
  font-size: 18px;
  color: #00778B;
  margin-top: 15px;
  margin-bottom: 8px;
  font-weight: bold;
}

/* Párrafos dentro del panel */
.panel p {
  font-size: 14px;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Listas dentro del panel */
.panel ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.panel ul li {
  font-size: 14px;
  margin-bottom: 6px;
  list-style-type: disc;
  color: #333;
}

/* Responsivo */
@media screen and (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .main-content {
    flex-direction: column;
  }

  .topbar, .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-section h1 {
    font-size: 22px;
  }
}
