/* Reset and Base Styles */
* {
  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;
}

a{
  text-decoration: none;
  color: inherit;
}

ul{
  list-style: none;
}

img{
  max-width: 100%;
  height: auto;
}

/* Banner Militar */
.gob-banner{
  background-color: #112e51;
  color: #fff;
  padding: 8px 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gob-banner img{
  width: 20px;
  height: 14px;
}

.gob-banner a{
  color: #73b3e7;
  text-decoration: underline;
  margin-left: 5px;
}

/* Site Header */
.site-header{
  background-color: #dfe1e2;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section{
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-section img{
  width: 70px;
  height: 70px;
}

.site-title{
  font-size: 24px;
  font-weight: 400;
  color: #1a5276;
  font-family: 'Times New Roman', serif;
  letter-spacing: 2px;
}

.header-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.search-form{
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-form input{
  padding: 8px 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 200px;
}

.search-form button{
  background-color: #1a5276;
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14px;
}

.search-form button:hover{
  background-color: #154360;
}

.social-links{
  display: flex;
  gap: 15px;
}

.social-links a{
  color: #1a5276;
  font-size: 22px;
  transition: color 0.3s;
}

.social-links a:hover{
  color: #154360;
}

/* Main Navigation */
.main-nav{
  background-color: #1a3a5c;
}

.nav-list{
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-list > li{
  position: relative;
}

.nav-list > li > a{
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s;
}

.nav-list > li > a:hover{
  background-color: #0d2340;
}

/* Breadcrumb */
.breadcrumb{
  background-color: #f5f5f5;
  padding: 10px 40px;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #ddd;
}

/* Hero Section */
.hero{
  position: relative;
  height: 500px;
  background-image: url('Raf-sentinel-ZJ692-071029-08-16.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.hero::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.0.2) 50%, rgba(0,0,0,0) 100%);
}

.hero-content{
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h2 {
  font-size: 52px;
  color: #fff;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.hero p{
  font-size: 28px;
  color: #b8c4ce;
  font-weight: 400;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  letter-spacing: 8px;
}

/* Mission Cards Section */
.missions-section{
  display: flex;
  flex-direction: column; /* siguen uno abajo del otro */
  align-items: flex-end;  /* AHORA se van a la derecha */
  padding: 30px 40px;
  background-color: black;
}

.missions-grid{
  display: grid;
  grid-template-columns: repeat (3, 1fr);
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}