body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #333;
}

header {
  background-color: #004080;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img.logo {
  height: 100px;
  border: 1px solid #111;
  border-radius: 4px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #00aaff;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
}

nav ul li a:hover {
  color: #00aaff;
  border-bottom: 2px solid #00aaff;
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #003366, #0080ff);
  padding: 20px;
  min-height: 300px;
}

.banner-texto {
  text-align: center;
  color: #fff;
  max-width: 60%;
}

.banner-img {
  max-height: 250px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.quienes-bg {
  background: url("../images/IMG_5731.JPG") no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  max-width: 900px;
  padding: 40px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
}

.overlay h1 {
  color: #00bfff;
  margin-bottom: 20px;
  font-size: 32px;
  text-align: center;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.gallery-item {
  width: 200px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item p {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.contacto {
  max-width: 700px;
  margin: 40px auto;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  padding: 20px;
}

.contacto h1 {
  text-align: center;
  color: #007acc;
  margin-bottom: 30px;
}

.contacto form {
  display: flex;
  flex-direction: column;
}

.contacto label {
  margin-top: 10px;
  margin-bottom: 5px;
}

.contacto input,
.contacto textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 15px;
}

.contacto button {
  background-color: #007acc;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contacto button:hover {
  background-color: #005f99;
}

.redes {
  margin-top: 40px;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
}

.redes h2 {
  color: #007acc;
  margin-bottom: 15px;
}

.redes p {
  margin: 5px 0;
}

.redes a {
  color: #007acc;
  text-decoration: none;
}

.redes a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 24px;
  text-decoration: none;
}

.hero {
  background: url("../images/javiera.jpg") center center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin: 10px 0;
}

.hero-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #007acc;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005f99;
}

/* LOGO con borde negro sutil */
header img.logo {
  height: 100px;
  border: 1px solid #111;
  border-radius: 4px;
}

/* Menú con borde celeste-coral */
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
}

nav ul li a:hover {
  color: #00aaff;
  border-bottom: 2px solid #00aaff;
}

/* SERVICIOS SECTION */
.servicios-section {
  background-color: #002244;
  padding: 50px 20px;
  min-height: 100vh;
}

.servicios-section h1 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* CUADROS DE SERVICIO */
.service {
  background-color: #003366;
  border-radius: 15px;
  width: 200px;
  height: 250px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* La imagen llena todo el cuadro */
.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay oscuro para texto */
.service::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

/* Hover efecto */
.service:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.mapa-contacto {
  background: linear-gradient(to bottom, #001f4d, #000000);
  padding: 40px 20px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
}

.mapa-contacto h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #00bfff;
}

.mapa-contacto p {
  font-size: 18px;
  margin-bottom: 20px;
}

.mapa-frames {
  max-width: 800px;
  margin: 0 auto;
}

.mapa-frames iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}
