html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* =========================
   NAVBAR TRANSPARENTE
========================= */
#navbar {
  position: relative;
  width: 100%;
  z-index: 9999;
  background: transparent !important;
}

#navbar .navbar,
.navbar,
header {
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================
   HERO
========================= */
.inicio-hero {
  min-height: 100vh;
  background: url("/imagenes/portada1.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 40px 20px;
  margin: 0;
}

.inicio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.inicio-hero .container {
  position: relative;
  z-index: 2;
}

.inicio-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.inicio-hero p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.inicio-hero .btn-primary {
  background: #d6a106;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
}

/* =========================
   MAIN DESDE SERVICIOS
========================= */
main.inicio {
  width: 100%;
  margin: 0;
  padding: 70px 0 80px;
  background: linear-gradient(180deg, #042937 0%, #063447 100%);
  color: #ffffff;
}

.inicio .container,
.inicio-servicios,
.servicios-grid,
.contacto-info {
  background: transparent !important;
}

/* =========================
   TITULOS
========================= */
h2 {
  color: white;
  font-weight: 700;
  margin-bottom: 35px;
}

/* =========================
   SERVICIOS
========================= */
.inicio-servicios {
  margin-top: 0;
}

.inicio-servicios .col-md-4 {
  margin-bottom: 30px;
}

/* =========================
   CARDS
========================= */
.servicio-card,
.contacto-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  height: 100%;
}

.servicio-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.servicio-body {
  padding: 22px;
  text-align: center;
}

.servicio-body h3,
.contacto-card h2 {
  color: #d6a106;
  font-size: 1.3rem;
  font-weight: 700;
}

.servicio-body p {
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* =========================
   CONTACTO
========================= */
.contacto-info {
  max-width: 1140px;
  margin: 70px auto 0;
  padding: 0 15px;
}

.contacto-card {
  padding: 30px;
}

.contacto-card h2 {
  margin-bottom: 25px;
}

.contacto-texto {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 25px;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.contacto-item i {
  font-size: 1.2rem;
  color: #dba100;
  margin-top: 4px;
  min-width: 22px;
}

.contacto-item h5 {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contacto-item p {
  color: #475569;
  margin: 0;
  line-height: 1.7;
}

.contacto-botones {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* =========================
   BOTONES
========================= */
.btn-contacto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: 50px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin-bottom: 0;
}

.btn-contacto:hover {
  color: white;
  text-decoration: none;
}

.btn-wsp {
  background: #18b70d;
}

.btn-mail {
  background: #d6a106;
}

.btn-trabaja {
  background: #0656d6;
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px) {

  .inicio-hero h1 {
    font-size: 2rem;
  }

  .inicio-hero p {
    font-size: .95rem;
  }

  .servicio-img {
    height: 200px;
  }

  main.inicio {
    padding: 50px 0 60px;
  }

  .contacto-info {
    margin-top: 50px;
  }

  .contacto-card {
    padding: 24px;
  }

  .btn-contacto {
    font-size: .95rem;
  }
}