:root{
  --negro: #000000;
  --azul: #001f3f;
  --amarillo: #ffd600;
  --blanco: #ffffff;
  --gris: #f5f5f5;
  --tipografia: 'Inter', sans-serif;
}
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body{
  font-family: var(--tipografia);
  color: var(--blanco);
  background: var(--negro);
  line-height: 1.6;
}
a{
  color: var(--amarillo);
  text-decoration: none;
}
img{
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
.container{
  width: 90%;
  max-width: 1100px;
  margin: auto;
}
header{
  background: var(--azul);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo{
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--amarillo);
}
nav a{
  margin-left: 1.2rem;
  color: var(--blanco);
  font-weight: 600;
}
nav a:hover{
  color: var(--amarillo);
}
.hero{
  background: url('img/hero.jpg') center/cover no-repeat;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
}
.hero::after{
  content:'';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.hero .container{
  position: relative;
  z-index: 2;
}
.hero h1{
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p{
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn{
  background: var(--amarillo);
  color: var(--negro);
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
}
.btn.outline{
  background: transparent;
  border: 2px solid var(--amarillo);
  color: var(--amarillo);
}
section{
  padding: 4rem 0;
}
#experiencia{
  background: var(--azul);
}
.cols{
  display: flex;
  gap: 2rem;
  align-items: center;
}
.cols .text{
  flex: 1;
}
.cols img{
  flex: 1;
}
h2{
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--amarillo);
}
.grid{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card{
  background: var(--azul);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--amarillo);
}
.grid-3{
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.video{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video iframe{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
.center{
  text-align: center;
  margin-top: 2rem;
}
form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--azul);
  padding: 2rem;
  border-radius: 8px;
  flex: 1;
}
input, textarea{
  padding: .75rem;
  border: none;
  border-radius: 4px;
  font-family: inherit;
}
textarea{
  resize: vertical;
  min-height: 120px;
}
.contact-list{
  list-style: none;
  margin-top: 1rem;
}
.contact-list li{
  margin-bottom: .5rem;
}
footer{
  background: var(--azul);
  text-align: center;
  padding: 1rem 0;
  font-size: .9rem;
}
@media (max-width: 768px){
  .nav{
    flex-direction: column;
  }
  nav a{
    margin: .5rem .8rem 0 0;
  }
  .cols{
    flex-direction: column;
  }
  .hero h1{
    font-size: 2rem;
  }
}