* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  width: auto;
}
html {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  height: 100%;
  background-color: #edf5fc;
  overflow-y: scroll;
  overflow-x: hidden;
}
body {
  width: 100%;
  margin: auto;
  max-width: 100%;
  background-color: #edf5fc;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
} 

/* Organización de la información de contacto superior */

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 5%;
  text-decoration: none;
}

.info-contacto{
  display: flex;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.info-contacto a {
  text-decoration: none;
  color: inherit;
}

.info-contacto .ubicacion-item {
  margin-left: auto;
  align-self: flex-end;
}

.info-icon-map {
  width: auto;
  height: auto;
  font-size: 18px;
  color: #05518c;
  margin-right: 6px;
}

.modos {
  margin-left: auto;
}

.icon-btn {
  border: 1px solid #7db1d8;
  background: #ffffff;
  color: #05518c;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  background: #05518c;
  color: #ffffff;
  border-color: #05518c;
}

.info-icon{
  width: 20px;
  height: 20px;
}

:root {
  --bg-color: #edf5fc;
  --text-color: #222222;
  --primary-color: #1e88e5;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: 0.3s ease;
}

.dark-mode {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --primary-color: #4dabf7;
}

.main-header {
  background: var(--bg-color);
}

.logo-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 8%;
}

/* Logo */

.logo{
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.logo img {
  width: 400px;
  height: auto;
}

/* Organización de los botones de navegación */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  border-radius: 20%;
  border-color: #1e88e5;
}

.nav-links a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #70a7cf;
  border-radius: 10px;
  background: #ffffff;
  text-decoration: none;
  color: #05518c;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  background: #05518c;
  color: #ffffff;
  border-color: #05518c;
  transform: translateY(-1px);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #1e88e5;
  font-size: 30px;
  transition: 0.3s;
}

.social-icons a[aria-label="WhatsApp"] {
  color: #25d366;
}

.social-icons a[aria-label="Instagram"] {
  color: #e1306c;
}

.social-icons a[aria-label="Facebook"] {
  color: #1877f2;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.services-page {
  padding: 18px 8% 46px;
}

.services-section {
  background: #ffffff;
  border: 1px solid #d6e6f5;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(18, 58, 90, 0.08);
  padding: 26px;
}

.services-heading {
  margin-bottom: 18px;
  text-align: center;
}

.services-heading h1 {
  color: #0f4f7c;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.services-heading p {
  color: #355670;
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto;
}

.services-table-wrap {
  border: 1px solid #d6e6f5;
  border-radius: 14px;
  overflow-x: auto;
  background: #ffffff;
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.services-table thead th {
  background: #0f4f7c;
  color: #ffffff;
  text-align: left;
  font-size: 0.95rem;
  padding: 14px 16px;
}

.services-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid #e5eef7;
  color: #2b465d;
  line-height: 1.55;
  vertical-align: top;
}

.services-table tbody tr:nth-child(even) {
  background: #f6fafe;
}

.services-table tbody tr:hover {
  background: #edf5fc;
}

.services-table tbody tr:last-child td {
  border-bottom: none;
}





/* Botón flotante de whatsapp */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  min-width: 50px;
  min-height: 50px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float i {
  font-size: 1.25rem;
}

.whatsapp-float:hover {
  background: #20be5c;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}




























.site-footer {
  background: #123a5a;
  color: #eaf4fc;
  padding: 36px 8% 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: #d0e4f3;
  text-decoration: none;
  line-height: 1.55;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-logo {
  width: 300px;
  height: auto;
  margin-bottom: 10px;
}

.footer-copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: #d7e9f7;
}

@media (max-width: 1366px) {
  .top-bar {
    padding: 10px 4%;
  }

  .info-contacto {
    gap: 24px;
    flex-wrap: wrap;
  }

  .logo img {
    width: 320px;
  }

  .logo-nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page {
    padding: 16px 4% 40px;
  }
}

@media (max-width: 900px) {
  .logo img {
    width: 280px;
  }

  .logo-nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .whatsapp-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 10px 12px;
    min-width: 48px;
    min-height: 48px;
    gap: 8px;
    font-size: 0.9rem;
  }

  
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-section {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    padding: 10px 4%;
  }

  .info-contacto {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-heading h1 {
    font-size: 1.45rem;
  }

  .services-table thead th,
  .services-table tbody td {
    padding: 10px 12px;
    font-size: 0.92rem;
  }
}
