* {
  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-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);
}

.contact-page {
  padding: 26px 8% 60px;
}

.contact-section {
  max-width: 980px;
  margin: 0 auto;
}

.contact-section h1 {
  color: #05518c;
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.contact-subtitle {
  color: #31485a;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.contact-card,
.contact-info-block {
  background: #ffffff;
  border: 1px solid #d7e8f5;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(5, 81, 140, 0.08);
  margin-bottom: 18px;
}

.contact-card p {
  color: #2f4a60;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-card a {
  color: #05518c;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  background: #0c8f43;
  color: #ffffff !important;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-whatsapp-btn:hover {
  background: #087638;
  transform: translateY(-1px);
}

.contact-map-wrap {
  width: 100%;
  border: 1px solid #d7e8f5;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.contact-info-block h2 {
  color: #05518c;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.contact-info-block p,
.contact-info-block li {
  color: #2f4a60;
  line-height: 1.6;
}

.contact-info-block ul {
  list-style: disc;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .contact-page {
    padding: 18px 6% 44px;
  }

  .contact-section h1 {
    font-size: 2.2rem;
  }

  .contact-subtitle {
    font-size: 1.05rem;
  }

  .contact-map-wrap iframe {
    height: 300px;
  }
}
































.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));
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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;
  }

  .site-footer {
    padding: 30px 6% 18px;
  }

  .footer-logo {
    width: min(100%, 260px);
  }
}
