
/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #2d3436;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
  margin: 0 auto; /* Centra el logo */
  }

.logo-link img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #0a3d62;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d90429;
}

/* Hero Section con Imagen de Fondo */
.hero {
  background-image: linear-gradient(rgba(0, 51, 102, 0.3), rgba(0, 51, 102, 0.3)), url('fondo2.jpg');
  /* 1. Evita que la imagen se repita */
    background-repeat: no-repeat; 
    
    /* 2. Hace que la imagen cubra todo el contenedor sin deformarse */
    background-size: cover; 
    
    /* 3. Centra la imagen para que se vea bien en cualquier pantalla */
    background-position: center;
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 180px;
}
























.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 61, 98, 0.9) 0%, rgba(10, 61, 98, 0.4) 100%);
  z-index: 1;
}

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

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
  background-color: #d90429;
  color: #fff;
  padding: 18px 35px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.4);
}

.btn-hero:hover {
  background-color: #b90424;
  transform: translateY(-3px);
}

.contador {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 700;
}

.contador span {
  color: #ffe600;
  font-size: 1.5rem;
}

/* Secciones Generales */
section {
  padding: 100px 0;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0a3d62;
  margin-bottom: 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Cards de Beneficios */
.card {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  border-bottom: 4px solid #0a3d62;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card h3 {
  color: #0a3d62;
  margin-bottom: 15px;
}

/* Servicios */
.service-item {
  text-align: center;
  padding: 20px;
}

.service-item .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

/* Contacto */
.contacto {
  background: #0a3d62;
  color: #fff;
}

.contacto h2 {
    color: #fff;
    text-align: left;
    margin-bottom: 20px;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    background: #d90429;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #b90424;
}

/* Footer */
footer {
    background: #072a44;
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .contacto-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contacto h2 { text-align: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { text-align: center; }
    .hero-actions { justify-content: center; }
    .footer-container { flex-direction: column; gap: 20px; }
}
