/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #0A3D62;
}
.header .logo img { height: 50px; }
.nav ul { list-style: none; display: flex; gap: 20px; }
.nav a { text-decoration: none; color: #fff; font-weight: 600; }
.nav a:hover { color: #1E90FF; }

.hero {
  position: relative;
  width: 100%;
  height: 800px; /* altura real del banner */
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%; /* ajusta el punto de enfoque */
  display: block;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 58%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 550px;
  text-align: left;
  z-index: 2;
}

.hero-content h1{
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content p{
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  padding: 10px 20px;
  background-color: #1E90FF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}
.btn:hover { background-color: #0A3D62; }

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 60vh; /* más alto en móvil */
  }
  .hero-content {
    right: 0;
    text-align: center;
    transform: translate(-50%, -50%);
    left: 50%;
  }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
}




/* About */
.about { padding: 60px 40px; background-color: #f9f9f9; text-align: center; }
.about h2 { margin-bottom: 30px; font-size: 2rem; color: #0A3D62; }
.cards { display: flex; justify-content: space-around; gap: 20px; }
.card {
  background: #fff; padding: 20px; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); flex: 1;
}
.card h3 { color: #1E90FF; margin-bottom: 10px; }

/* Services */
.services { padding: 60px 40px; text-align: center; }
.services h2 { margin-bottom: 30px; font-size: 2rem; color: #0A3D62; }
.service-grid { display: flex; justify-content: space-around; gap: 20px; }
.service {
  background: #fff; padding: 20px; border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); flex: 1;
}
.service img { max-width: 100%; border-radius: 5px; margin-bottom: 15px; }
.service h3 { color: #1E90FF; margin-bottom: 10px; }

/* Footer */
.footer{
background:#0A2540;
color:white;
padding:40px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:30px;
}

.footer-col{
flex:1;
min-width:220px;
}

.footer-col h4{
margin-bottom:10px;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin:6px 0;
}

.footer-col ul li a{
color:white;
text-decoration:none;
}

.footer-col ul li a:hover{
text-decoration:underline;
}

.footer-bottom{
text-align:center;
margin-top:30px;
border-top:1px solid rgba(255,255,255,0.2);
padding-top:20px;
}




/* Responsive */
@media (max-width: 768px) {
  .nav ul { flex-direction: column; gap: 10px; }
  .cards, .service-grid { flex-direction: column; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
}
.service-detail {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}

.service-header {
  border-bottom: 3px solid #1E90FF;
  margin-bottom: 25px;
  padding-bottom: 10px;
}

.service-header h2 {
  color: #0A3D62;
  font-size: 2rem;
  margin-bottom: 5px;
}

.service-header .subtitle {
  color: #555;
  font-size: 1.1rem;
  font-style: italic;
}

.service-content p {
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
}

.benefits {
  list-style: none;
  padding-left: 0;
}

.benefits li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.benefits li::before {
  content: "✔";
  color: #1E90FF;
  position: absolute;
  left: 0;
  top: 0;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background-color: #1E90FF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #0A3D62;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #0A3D62;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1E90FF;
  outline: none;
  box-shadow: 0 0 5px rgba(30,144,255,0.3);
}

 /*para colocar los servicios 2 y 2 */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.service {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}



/*para estructura de quienes somos*/

.quienes-somos {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.quienes-somos h2 {
  text-align: center;
  color: #0A3D62;
  margin-bottom: 20px;
}

.quienes-somos .intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #333;
}

.quienes-somos .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.quienes-somos .card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quienes-somos .card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1E90FF;
}

.quienes-somos .card h3 {
  color: #1E90FF;
  margin-bottom: 15px;
}






.contact-info{
  margin-bottom:30px;
}

.contact-info p{
  margin:8px 0;
}

.privacy-text{
  font-size:14px;
  margin-top:10px;
}




.email-policy{
  margin-top:40px;
  padding:20px;
  background:#f4f6f9;
  border-radius:8px;
  font-size:14px;
  line-height:1.6;
}

.email-policy h3{
  margin-bottom:10px;
}



form input, form textarea{
width:100%;
padding:10px;
border:1px solid #ccc;
border-radius:4px;
}

form button{
background:#0A2540;
color:white;
padding:10px 20px;
border:none;
border-radius:4px;
cursor:pointer;
}

form button:hover{
background:#163b63;
}



.cookies{
position:fixed;
bottom:0;
width:100%;
background:#0A2540;
color:white;
padding:15px;
text-align:center;
z-index:1000;
}

.cookies button{
margin-left:10px;
padding:6px 12px;
background:#4CAF50;
border:none;
color:white;
cursor:pointer;
}



.contact-float{
position:fixed;
bottom:80px;
right:20px;
background:#0A2540;
color:white;
padding:12px 18px;
border-radius:30px;
text-decoration:none;
font-weight:bold;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
z-index:999;
}

.contact-float:hover{
background:#163b63;
}




