/* styles.css */
:root {
  --teal: #2bb4b4;
  --teal-dark: #005c5c;
  --teal-light: #80cbc4;
  --bg: #f5f9f9;
  --text: #222;
  --text-muted: #555;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --font-main: 'Segoe UI', 'Inter', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--teal-dark);
  color: white;
  text-align: center;
  padding: 2rem;
  animation: brillo-fondo 4s infinite alternate;
  box-shadow: var(--shadow);
}

.card {
  background: white;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}


@keyframes brillo-fondo {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(0.8);
  }
}

/* styles.css */
.encabezado {
  background-color: #005c5c;
  color: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.0rem 2rem;
  flex-wrap: wrap;
  height: 4rem;  
}

.imagen-header {
  width: 3%;
  border-radius: 8px;
  object-fit: cover;
  object-position: right;
  align-self: right;
}

.titulo-header {
  font-size: 2rem;
  font-weight: 600;
  flex: 1;
  min-width: 200px;
}

.logo {
    max-width: 150px;
    height: auto;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav li {
  position: relative;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: var(--teal);
}

.submenu {
  display: none;
  position: absolute;
  background: var(--teal);
  top: 100%;
  left: 0;
  min-width: 150px;
}

nav li:hover .submenu {
  display: block;
}

.servicios {
  text-align: center;
  padding: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}


.contacto {
  background: #fff;
  padding: 2rem;
  text-align: center;
}

footer {
  background: var(--teal-dark);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.carousel {
  text-align: center;
  padding: 2rem;
}


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin-top: -22px;
  padding: 16px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  background-color: #00a783b4;
  color: #ffffff;
  font-size: 17px;
  font-weight: bold;
  padding: 8px 12px;
  position: static;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.contacto_img {
  opacity: 0.80; /* 50% transparente */
  width:37.5%
}

.contacto_img:hover {
  transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.separador {
  font-size: 1rem;
  color: var(--teal-dark);
  margin: 3rem 0;
}

.separador::before,
.separador::after {
  border-bottom: 1px solid var(--teal-light);
}

button {
  background-color: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: var(--teal-dark);
}

.service.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.995), rgba(250,252,255,0.995));
  border: 1px solid rgba(14, 51, 84, 0.06);
  padding: 24px 28px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  font-family: "Inter", "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
  color: #12202b;
  line-height: 1.6;
  letter-spacing: 0.2px;
  transition: box-shadow 0.3s ease;
}

.service.card:hover {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
}

/* Título dentro de la tarjeta */
.service.card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0b2540;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

/* Párrafos */
.service.card p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 10px;
}

/* Listas */
.service.card ul {
  margin: 10px 0 12px 20px;
  padding-left: 0;
}
.service.card ul li {
  font-size: 15px;
  color: #334155;
  margin-bottom: 6px;
}

/* Negritas clave */
.service.card p strong,
.service.card ul strong {
  color: #0b2540;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .service.card {
    padding: 20px;
    margin-bottom: 20px;
  }
  .service.card h2 {
    font-size: 18px;
  }
  .service.card p,
  .service.card ul li {
    font-size: 14px;
  }
}

  p {
    margin: 20px;
  }

a:visited {
  color: inherit;       /* o el color que prefieras */
  text-decoration: none;
}

centertable {
margin-left: auto;
margin-right: auto;
}