/* ==== Reset y fuentes ==== */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  color: #333;
  background: #f8f9fa;
  line-height: 1.6;
}

/* ==== Header ==== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #0a2e6d;
  color: white;
  position: relative;
}

.logo { width: 150px; }

.menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: white; cursor: pointer; }

.nav-links { display: flex; gap: 2rem;}
.nav-links a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #f2b705; }

/* ==== Hero ==== */
.hero { 
  text-align: center; 
  padding: 5rem 1rem; 
  background: linear-gradient(to right, #0a2e6d, #144a9c); 
  color: white; 
}
.hero h1 { font-size: 2rem; margin-bottom: 1rem; }
.hero p { max-width: 600px; margin: 0 auto 2rem auto; font-size: 1.05rem; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.cta-buttons a {
  flex: 1 1 200px;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}
.btn-primary { background: #f2b705; color: #0a2e6d; }
.btn-secondary { background: white; color: #0a2e6d; }

/* ==== Sections ==== */
.section { padding: 4rem 1.5rem; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.card { background: white; padding: 1.5rem; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.card i { font-size: 2rem; color: #0a2e6d; margin-bottom: 0.5rem; }

/* ==== Así Trabajamos ==== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.step { background: #f8f9fa; padding: 1.5rem; border-radius: 10px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.step i { font-size: 2.5rem; color: #0a2e6d; padding: 15px; border-radius: 50%; background: #e9edf5; margin-bottom: 0.8rem; }

/* ==== Contact ==== */
.contact form { display: flex; flex-direction: column; max-width: 500px; margin: 0 auto; gap: 1rem; }
input, textarea { padding: 0.75rem; border-radius: 6px; border: 1px solid #ccc; font-size: 1rem; }
textarea { resize: vertical; min-height: 100px; }
button { padding: 0.75rem; border: none; border-radius: 6px; cursor: pointer; background: #0a2e6d; color: white; font-weight: bold; }

/* ==== Social icons ==== */
.social {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.social a {
  color: #0a2e6d;
  font-size: 1.8rem;
  transition: color 0.3s;
}
.social a:hover { color: #f2b705; }

/* ==== Footer ==== */
footer { text-align: center; padding: 2rem; background: #0a2e6d; color: white; }

/* ==== Responsive ==== */
@media(max-width:768px){
  .menu-toggle{display:block}
  .nav-links{display:none;flex-direction:column;position:absolute;top:100%;left:0;background:#0a2e6d;width:100%;}
  .nav-links.active{display:flex;}
  .nav-links a{padding:1rem;text-align:center;}
}

/* ==== Padding extra para pantallas grandes ==== */
@media(min-width:1200px){
  .hero { padding: 6rem 6rem; }
  .section { padding: 6rem 6rem; }
  .contact { padding: 6rem 6rem; }
}
