* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
}
.imgtit {
  max-height: 500px;
}
.google-rating {
  text-align: center;
  margin-top: 20px;
}

.google-rating img {
  max-width: 320px;
  width: 100%;
  height: auto;
}

.google-rating p {
  font-size: 1.1rem;
  color: #333;
  margin-top: 10px;
}

nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 100;
}
.logo a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  font-weight: 700;
  color: #024185;
}
.logo span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
}
.google-map-container {
  width: 60%;
  margin: 40px auto; /* 40px de margen vertical y auto para centrar horizontalmente */
  border: 2px solid #007BFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #024185; 
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1.3rem;
}
.nav-links a:hover {
  color: #024185;
}

#inicio {
  background: url('fotos/cardiult.jpg') no-repeat center center fixed;
  background-size: cover;
  height: 60vh;
  filter: brightness(1.3);
  transform: translateZ(-1px) scale(1);
  position: relative;
}
.logo a {
  font-size: 2rem; 
  font-weight: bold;
}
.logo span{
  font-size: 1rem; 
  font-weight: bold;
}
html {
  scroll-behavior: smooth;
}
#inicio::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #024185;
  margin-bottom: 40px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.service-item {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}


.about,
.contact-info {
  max-width: 800px;
  margin: auto;
  text-align: center;
}


footer {
  background: #333;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s;
}
.footer-links a:hover {
  opacity: 0.8;
}
.footer-links img {
  width: 24px;
  height: 24px;
}
.FOOTTR{
  background: #333;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  margin-top: 145px;
}
.whatsapp-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.whatsapp-contact img {
  width: 120px;
  height: 120px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}
.service-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #024185;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 40px;
  border-radius: 10px;
  transition: transform 0.3s, background-color 0.3s;
}
.service-box:hover {
  transform: scale(1.05);
  background-color: #024185;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
}


.service-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #024185;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  padding: 40px;
  border-radius: 10px;
  transition: transform 0.3s, background-color 0.3s;
}

.service-box:hover {
  transform: scale(1.05);
  background-color: #024185;
}
.content-container {
  max-width: 800px;
  margin: 40px auto; 
  padding: 20px;
  background: #f9f9f9; 
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

main h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #024185;
}

main h2 {
  font-size: 1.8rem;
  margin: 20px 0 10px;
  color: #024185;
}

main p, main ul, main li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

main ul {
  padding-left: 20px;
}

.separator {
  height: 2px;
  background: #024185;
  margin: 30px 0;
  border-radius: 2px;
}

.content-container p,
.content-container li {
  text-align: justify;
  text-justify: inter-word;
}

.content-container h1,
.content-container h2,
.content-container h3 {
  text-align: center;
}

@media (max-width: 768px) {
  .content-container {
    padding: 15px;
    margin: 20px;
  }
  
  main h1 {
    font-size: 2rem;
  }
  
  main h2 {
    font-size: 1.5rem;
  }
  
  main p, main ul, main li {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .logo a {
    font-size: 1.2rem;
  }
  header img {
    height: auto;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #024185;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
  }
  .logo a {
    font-size: 1rem; 
    font-weight: bold;
  }
  .logo span{
    font-size: 0.8rem; 
    font-weight: bold;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

