/*== FUENTES ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ==============================
   Estilos globales
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  font-size: 16px;
}

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

/* ==============================
   HEADER Y NAVEGACIÓN
============================== */
.header {
  background-color: #FFFFFF;
  color: #083147;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.2rem;
  color: #f5c542;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  color: #083147;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #f5c542;
}

/* ==============================
   SECCIONES GENERALES
============================== */
.section {
  padding: 100px 0 60px;
}

.section h2 {
  text-align: center;
  color: #222;
  margin-bottom: 40px;
  font-size: 2rem;
  position: relative;
}

.section h2::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #f5c542;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.bg-light {
  background-color: #f8f8f8;
}

/* ==============================
   HERO (INICIO)
============================== */
.hero {
  background: url("../images/slide-01.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-text h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  background-color: #f5c542;
  color: #222;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background-color: #222;
  color: #f5c542;
}

/* ==============================
   PROYECTOS
============================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
  color: #222;
  font-size: 1.1rem;
}

.card:hover {
  transform: translateY(-5px);
}

/* ==============================
   SERVICIOS
============================== */
.services-list {
  list-style: none;
  max-width: 600px;
  margin: auto;
}

.services-list li {
  background: #fff;
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid #f5c542;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ==============================
   NOSOTROS
============================== */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about div {
  flex: 1;
  min-width: 280px;
}

/* ==============================
   CONTACTO
============================== */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form button {
  border: none;
  cursor: pointer;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .section {
    padding-top: 80px;
  }
}
